Alarm manager overlay

Hi,

If there’s an alarm with a person in the scene, I need to display a bounding box around the person when the alarm is viewed in alarm manager. I already have a plugin that analyzes incoming alarms and calculates bounding boxes, but I’m not sure how to display them.

One way I’m thinking about is to programmatically enter the box coordinates into the alarm description, and then have a Smart Client plugin that reads this information and displays the box. Is it at all possible to draw overlays in alarm manager? I would also need a way to pause the playback automatically when the alarm is selected, ie. disable automatic playback.

Appreciate any help to point me in the right direction, thanks.

If an alarm includes overlay / AnalyticsObject then the Smart Client Alarm Manager will include the overlay. If you are responsible for sending the event or alarm in the first place this will probably be the best solution.

Notice the bounding box in the picture here: https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/analyticseventtriggervialibrary/readme.html&tree=tree_2.html

This sample also includes the capability…

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/triggeranalyticseventxml/readme.html&tree=tree_3.html

If the overlay cannot be done when sending the Analytics Event or Alarm but has to come later.

One option is to make an Alarm Preview plugin, it will not replace the camera view but will be placed along side it. See the Smart Client Alarm Preview plugin sample for getting familiar with how it works.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/alarmpreview/readme.html&tree=tree_1.html

Another option is to open a different view. The Smart Client Dynamic View plugin sample will open a temporary view when an alarm is selected in the Alarm List.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/dynamicview/readme.html&tree=tree_1.html

Thank you, I checked out the Analytics Event sample which looks like the perfect solution, since it doesn’t require a Smart Client plugin and also pauses playback.