How to get 'Analytics Events' Being Triggered on a Frame in Nx Plugin
AnsweredHi,
The Nx Plugin is currently receiving Motion events by processing the ‘video frames’ using pushUncompressedVideoFrame method. When an 'Analytics Event' occurs on the camera how to get trigger in pushUncompressedVideoFrame method in addition to Motion event.
pushUncompressedVideoFrame(const IUncompressedVideoFrame* videoFrame)
if (hasAnalyticsEvent(videoFrame, 'Name, description of the Analytics event that can help filter type of event')) {
// Process frame
}
Basically, I need the details of 'Analytics event' in DeviceAgent. How can I implement hasAnalyticsEvent? I want to use analytic events from third-party plugins as trigger for your plugin
I am currently using Nx Metadata_SDK-5.1.3 in Windows. Can you please help to get the 'Analytics Event' marked in Green in following image in Plugin.
Thanks,
Mohamed Rafi
-
Hello,
I'd suggest you reading the section of our manual dedicated to implementing analytics events
https://meta.nxvms.com/docs/developers/knowledgebase/273-step-6-adding-analytics-events
You can also take a look at the Events sub-plugin of the stub analytics plugin of the Metadata SDK.
Please sign in to leave a comment.
Comments
1 comment