Skip to main content
In this example, the pipeline systematically analyzes each frame of a video stream to identify and localize multiple objects — such as people, vehicles, or other entities — within each frame. For each detected object, the pipeline provides bounding boxes and confidence scores. This example uses the YOLOX model from Qualcomm AI Hub. gst-ai-video-detection The detection pipeline is structurally identical to the classification pipeline, with two key differences:
  • The inference plugin is configured with a detection model (YOLOX) instead of a classification model
  • The qtimlpostprocess plugin uses the yolov8 module with a higher result count to capture multiple detections per frame

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

Detection results are visually overlaid on each video frame — bounding boxes and class labels are rendered on top of the original image in real time. gst-ai-video-detection