How to transform Bounding Box from YOLO Coordinates into Standard ONVIF Coordinates?

Hi,

I am creating an application that collects the live metadata from a given metadata Server using the component MultiChannelMetadataProvider example in order to generate reports on the collected metadata.

metadata Server uses SVG Coordinate System , I tried a lot of solutions to Transform from SVG to Cartesine but every time The bounding Box Go to the wrong Place,

i also tried to Use onvif MetadataTransformation :

{

Transformation=new Transformation

                           {

                               Translate=new Vector{X=-1 , Y=1},

                               Scale=new Vector{X=2/w,Y=2/h}

                           },

}

But Also it didn’t Work .

Any Suggestions To Solve This Problem !

Best regards,

We have asked Milestone Development, but we don’t have the answer because this is not really something that Milestone has been using.

What we can provide is information about the format that we expect the bounding boxes to be in when they are added to XProtect. Please read this link -

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_metadata.html&tree=tree_4.html