Metadata bounding box coordinates cannot correspond

What are the coordinate rules of the metadata bounding box supported by Milestone, as shown in the red box in the figure.

Now my question is that the metadata bounding box of our camera is successfully displayed on the Live screen, but the location and size do not match. It may be that there is a problem with the conversion, so I want to ask.

In addition, I want to ask, if I want to draw a line, a triangle, or a curved trajectory, how do I convert this coordinate?

Please help us to solve this problem. Thank you.

If you look at this Bounding Box Metadata Provider sample, metadata bounding box coordination is like something like this - bottom=”-0.2499999” top=”0.25” right=”-0.25” left =”-0.75” and this is the way how to make proper size and location. We believe values in the range -1 to 1 will be interpreted as fractions of the image. Values outside the range will be interpreted as pixels, you will however never be able to know the size of display in the Smart Client. Please try out and find a suitable coordinates.

Regarding the last question to draw a line, a triangle or a curved trajectory: This is only possible if you make your own Smart Client plugin drawing overlay.

A sample doing overlay: https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/scoverlaygraphonevent/readme.html&tree=tree_1.html