By implementing the deepstream- based Video processing service for video analytics, we successfully received the detection results and visualize them on the Xprotect. Right now, we would like to implement the full workflow. Currently we would like to trigger an alarm based on the detection results. For instance, if a person is detected, both an alarm should be generated and a record, for example of 10 seconds, should be saved. what we are aware of is that to trigger this alarm, we need to generate an analytic event through 3 ways: protocol, component or plug-in solution. Also we want to know how to broadcast automatically this send of event.
First of all, this documentation might be helpful as it demonstrates how to develop a mechanism sending analytics events -
https://content.milestonesys.com/media/?mediaId=39A14041-0077-437C-B4EEB8E6507CFFB6
The simplest way is 1) to generate an Analytics Event, 2) to add new alarm definitions which is triggered by the Analytics event 3) to make new rules on Management Client.
- Create an Analytics Event on Management Client for triggering the Analytics event.
- Add a new alarm definition for triggering it (please make sure to configure your Analytics event with this alarm) on Management Client.
- To make new rules on Management Client.
Moreover, I used the MIP SDK and implement a background plugin to automate the send of events from the Milestone xprotect event server too. But, when I try to read the metadata in this background plugin through this line of code: List _items = Configuration.Instance.GetItemsByKind(Kind.Metadata);
_items always is empty and no metadata is returned although it exists on the server.
Regarding GetitemByKind, I found a similar question. Please read this answer below link and explore ConfigAccessViaSdk sample. https://developer.milestonesys.com/s/question/0D53X00008w40RnSAI/get-cameras-listed-in-recording-server-management-client



