image_publisher to publish a bundled image at a fixed rate, then push the frame through the same QNN inference pipeline as the camera launch variant. The samples run on the IQ-9075 EVK under either Qualcomm Linux or Ubuntu, and on the Qualcomm Dragonwingโข RB3 Gen 2 Vision Kit under Ubuntu.
Prerequisites
Confirm the following before you start either sample.- For more information, see the Evaluate tab on the Scenarios page.
- The host and device can reach each other over the network using the
pingcommand. - ROS 2 Jazzy is available on both the host and the device with a matching
ROS_DOMAIN_ID. - The device runs
qcom-robotics-proprietary-image(Qualcomm Linux) orqirp-sdkorqirp-sdk-desktop(Ubuntu).
Run AI samples
Follow the tab for the sample you want to run. Both samples publish input images throughimage_publisher, so no camera is required.
- Image classification
- Hand detection
Run Pass
sample_resnet101 end-to-end to classify a bundled image with the ResNet-101 model through the Qualcommยฎ AI Engine Direct SDK (QNN).Pipeline diagram
The following diagram shows the ROS 2 nodes and topics in the pipeline.Run the sample
Follow the OS tab. Both paths launch with the built-in image publisher, which defaults to publishingglasses.jpg at 10 Hz.- Qualcomm Linux
- Ubuntu
1
Source the runtime environment on the device
Over SSH to the device:
2
Launch the sample with the image publisher
3
Echo the classification topic
In a second SSH session:
Expected result
The following output shows a steady classification stream on/resnet101_output.image_path:=<your image path> to the launch command to change the input image; the label updates accordingly.Next steps
- QIR SDK user guide (Qualcomm Linux) โ Complete QIR SDK user guide for Qualcomm Dragonwing devices running Qualcomm Linux software, including SDK overview, install, image variants, cross-compile toolchain, overlay mechanism, migration guide, and troubleshooting.
- QIR SDK user guide (Ubuntu) โ Complete QIR SDK user guide for Qualcomm Dragonwing devices running Ubuntu, including software architecture, install, and sample applications.
- Try more sample applications


