Event Encoder
gst-ai-event-encoder performs object detection on a video stream and encodes detected events (object appearance/movement) into structured output, suitable for surveillance and video analytics.
Prerequisites
- Completed QIM SDK Installation and Model Download
Steps
1. Verify Model
ls -l /etc/models/yolox_quantized.tflite
2. View Configuration
cat /etc/configs/config-event-encoder.json
3. Run
radxa@airbox$
gst-ai-event-encoder --config-file=/etc/configs/config-event-encoder.json
Press Ctrl + C to stop.
Expected Output
Running app with model: /etc/models/yolox_quantized.tflite and labels: /etc/labels/yolox.json
Using DSP delegate
VERBOSE: Replacing 329 out of 329 node(s) with delegate (TfLiteQnnDelegate) node
Pipeline state changed from PAUSED to PLAYING
The display shows the detection view while the terminal streams structured event metadata.
Validation
- YOLOX model (329 ops) running on DSP
- Pipeline reaches
PLAYINGstate - Terminal streams event encoding data continuously