Skip to main content
Daisy chaining refers to the sequential execution of multiple machine learning models, where each model specializes in a particular task. This example chains a YoloX object detection model with an HRNet Pose estimation model — YoloX first detects people in the frame, then HRNet estimates the pose of each detected person. gst-ai-video-daisychain-new Stage 1 — Person Detection: qtimlvconverter converts the NV12 frame to a tensor. qtimltflite runs FootTrackNet inference. qtimlpostprocess parses the output into bounding boxes for detected persons. Stage 2 — Pose Estimation: qtimlvconverter in roi-batch-cumulative mode crops and centers each detected person’s bounding box into individual tensors. qtimltflite runs HRNet inference per person. qtimlpostprocess produces keypoints and skeleton connections. All results are mapped back to the original frame and rendered by qtivoverlay.

Run example on device

1

Download Required Files

If any downloaded file is a .zip archive, extract it on your host machine before copying: unzip filename.zip
2

Copy files to device

Create the required directories and transfer the downloaded files to your device.
3

Connect to device

4

Set environment variables

5

Run example on device

Expected output

Bounding boxes (from YOLOX) and skeleton keypoints (from HRNet) are overlaid on each video frame in real time.

Exploring output options

The waylandsink in the pipeline above can be replaced with other output elements: Encode to file:
Save raw frames:
Stream over RTSP:
Access the stream at rtsp://<device-ip>:8900/live.