sample_resnet101 sample application classifies images using a ResNet-101 model with ROS 2 nodes. It uses Qualcommยฎ AI Engine Direct SDK (QNN) for model inference.
resnet101 is a machine learning model that can classify images from the ImageNet dataset. It also serves as the basis for building more advanced models tailored to specific use cases.
NoteFor more information, see sample_resnet101 on GitHub.
Figure: Sample effects of sample_resnet101
Pipeline flow for sample_resnet101
Figure: Pipeline flow for sample_resnet101
ROS nodes used in sample_resnet101
ROS topics used in sample_resnet101
NoteThe preprocess node subscribes to
image_raw. With launch_with_qrb_ros_camera.py this subscription is remapped to /cam0_stream1; with launch_with_image_publisher.py it keeps the default /image_raw.Prerequisites
You have completed the settings in Set up the environment for running sample applications.Run out-of-the-box sample_resnet101
Try me
Try me
1
Run the sample on the development kit
SSH Session
2
Check the classification result on the host computer
SSH Session
Build and run sample_resnet101
The following steps build the sample_resnet101 package using Dragonwing IQ-9075 Evaluation Kit as an example.
Try me
Try me
1
Build and package on the host computer
- Build the sample application project.
- Package and push the sample application to the device.
2
Install and run on the development kit
- Install the sample application.
SSH Session
- Run the sample application with the steps in Run out-of-the-box sample_resnet101.

