Skip to main content
The inference plugin is responsible for executing the AI model on the prepared input tensor. The QIM SDK supports multiple inference runtimes, each encapsulated within a dedicated GStreamer plugin. This architecture allows for straightforward replacement and integration of inference engines, depending on the target platform or model format. Supported runtimes include:
  • qtimlsnpe — SNPE (Qualcomm Neural Processing): Executes models in DLC format on Qualcomm Snapdragon platforms.
  • qtimlqnn — QNN (Qualcomm AI Engine Direct): Supports models optimized for QNN.
  • qtimltflite — TFLite / Lite-RT: Enables execution of TensorFlow Lite models.
  • qtimlonnx — Enables execution of ONNX models.
All plugins leverage hardware acceleration provided by Qualcomm NPUs and GPUs for optimal performance.

Run example on device

The example below uses the ResNeXt101 model with the qtimltflite plugin to classify objects in a video stream. Inference pipeline diagram
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

The pipeline classifies objects in the video stream in real time. The qtimltflite plugin automatically reads tensor specifications from the model and propagates them to adjacent plugins — no manual tensor configuration is required. By default, all QIM SDK inference plugins perform dequantization on output tensors automatically. Now that we are able to take video input from a data source and do hardware accelerated preprocessing and inferencing on each frame, let’s turn our attention to the post processing of the results and generating meaningful data.