Exporting SecuRT data¶
How to Export object statistics through MQTT¶
This guide walks you through the process of setting up a SecuRT instance to export object statistics through MQTT, using
Persons/Crowding Detection as an example
Create a copy of the instance by saving it in the user instances:
Access the Setup windows of the new instance.
Go to the Export tab and click on the
Add Custom Export Optionsbutton.
Configure the output to use the right data type and format
Click "Ok" and save the changes.
Download and run the following Python script mqtt_listen_global_object_stats.py
The script requires Python 3.7+ and
paho-mqttwhich can be installed by running
pip install paho-mqtt
My Instances/Crowding Detectioninstance. You should be seeing the number of objects in the console. Each line represents a frame in the input source.