Skip to main content

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

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 PLAYING state
  • Terminal streams event encoding data continuously

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0