Skip to main content

Object detection

Given a video frame, identify objects, and draw bounding boxes around them.
Ensure you have QIM SDK installed. QIM SDK Installation Guide

Prerequisites

Run these commands on your device first:

Object detection pipeline command

Ensure you have followed the prerequisites before continuing
1

Run the pipeline command

2

View results

Your display shows the video feed with bounding boxes and class labels rendered over each detected object. The pipeline processes frames in real time
Press Ctrl+C to stop the pipeline gracefully.
  • In case you want to build around this demo, command line might not be the most robust solution
  • You could paste it into a shell file…
  • But if you want other code to interact with this, you would want a cpp or python file (pipeline application).

How it works

The pipeline reads an H.264 video file, hardware-decodes it, branches the decoded stream, runs YOLO-X inference on the Qualcomm® AI Engine (HTP backend), post-processes the bounding-box results, blends the annotations back onto the original frame using a hardware compositor, and displays the output to a screen. Pipeline Diagram Pipeline Diagram

Next Steps

You’ve run an object detection pipeline on Qualcomm® hardware. Here’s where to go next:

AI Sample Pipelines

Ready-to-run GStreamer pipelines for classification, segmentation, pose estimation, super resolution, and more.

Blogs

Real-world examples built by the QIM SDK community — covering object detection, PPE compliance, security cameras, and more.

Supported Models

Full catalogue of quantized TFLite models tested on Qualcomm® hardware, with pipeline commands for each.

Plugin Reference

API-level documentation for every QIM SDK GStreamer plugin — properties, caps, and usage examples.