Nx Meta: How do we show annotation around the tracked objects?
AnsweredHi,
We implemented Meta plugin. In Nx, it is showing like the following.

Around the tracked object, Nx draws a red rectangle. This is awsome.
However, we need more than this. We would like to show more information.
* Rectangle around the tracked objects
* Type of objects, area, height, speed
* Trail of traked object
The following image depits what I intend.

Moreover, we also would like to draw configured zones and trip wires so that customers know easily why an event occurred. In the picture, the red polygon shows the region one had configured.

Since you already draw rectangles, I think you could also draw text, polygons according to the data we output at each frame.
We really want this feature, since our embedded product streams with those information burnt in the image. Customers really like it, because other products just show images only and they have to figure out what had happend and why it happened. With those information burnt in the image, customers instantaneously know what had happened.
Thanks in advance.
-
Official comment
Hi Jason, thanks for your post. I'll try to answer your questions.
Talking about showing some info about the object near the bounding box: it is already possible, you can check IObjectMetadata interface, it has attribute() and attributeCount() methods.An example of the implementation of that interface is ObjectMetadata class which you can find among other helper classes provided together with the SDK. It has addAttributes() method. You can also check a plugin example (stub_analytics_plugin) that is provided together with the SDK. There's a makeObjectMetadata() function that uses the addAttributes() method in order to add the attributes to the object. If those attributes are of the string type, they will be shown on the image near the bounding box, and also in the object's tile in the desktop client's Right Panel. Just follow the following format when adding an attribute: {IAttribute::Type::string, "name", "value"}.As for showing the traces of the objects: we are currently considering making it, but I don't think it will be introduced soon.But we plan to introduce the possibility to specify the plugin settings by drawing the area of interest in one of the nearest META releases.As for showing the area of interest in GUI upon some event: we are currently considering implementing it, but I can't tell how soon it will be done.Thank you for your interest in Nx MetaVMS, we really appreciate it. -
Thanks for your advice. We could show the attributes.
It would be really amazing if you allows us to draw something on the image window. I will look forward to it.
0
Please sign in to leave a comment.
Comments
2 comments