BOUNDING BOXES AROUND AN OBJECT (HUMAN)

Hi,

  1. In MIP SDK is it possible to draw bounding boxes around any object, specifically a human. I have external parameters i.e. Timestamp, top-x, top-y, bottom-x, and bottom-y location of the object which will be passed during video playback to the ActiveX control.

  2. Also, want to display bounding boxes around object (any object) during live view through ActiveX?

Regards,

Afzal Hamid

Yes.

The bounding box can be drawn by the ImageViewerControl using the SetOverlay or the ShapesOverlayAdd methods. Can be used in live and in playback mode.

Notes..

The ImageViewerControl does not rely on the activeX but on other technology which enable the use of hardware acceleration. For now it is possible to revert to the activeX but this is expected to be removed in a future version.

ShapesOverlayAdd performs better than SetOverlay while relying on the newer component.

If you submit metadata containing bounding boxes the Smart Client will automatically display the bounding boxes. Explore the Bounding Box Metatdata Provider sample.

If you submit analytics events containing bounding boxes the Alarm Preview view-item in the Smart Client will automatically display the bounding boxes.

The Smart Client Overlay Graph plugin sample works with the ShapesOverlayAdd mehtod, and might be a good source of inspiration.

There is much to tell about ImageViewerControl and overlays, do not hesitate to ask new questions on the subject as you familiarize yourself with it.