Ainvr analytics service, retrieve ROI information from redis

Please provide complete information as applicable to your setup.

• Hardware Platform Jetson Orin NX
• DeepStream Version 7
• JetPack Version 6 36.3

I have deployed AINVR app, everything is working fine. However, i’m trying to build a dashboard on top of VST, i just have one question, how do i retrieve the ROI counts in realtime from redis? I know i can get it using http request ( using the webapi ) but i want to retrieve it directly from redis in real time. is there a redis topic for that?

Move to JPS forum.

You can get the ROI counts by REST API: Swagger UI
Why you need get it from Redis? Can you share more on your use case?

i need it in real time, using REST API might add up some time to the process.
The customer wants to get ROI counts in real time.

To get realtime ROI counts is via getting each ROI entry/exit alerts in realtime and in that alert body message we also have the current ROI count in the attributes array . This alerts are exposed by Websocket endpoint so they are in realtime
https://docs.nvidia.com/jetson/jps/emdx/alerts.html#notification-of-alerts-via-websocket-endpoint
For this the client first has to configure ROI Increment Alert with count_threshold=1 for each entry/exit alert
https://docs.nvidia.com/jetson/jps/emdx/roi.html#increment-alert-type

that’s exactly what i did, thanks a lot for the answer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.