input_image.jpg 的图像,然后以 ROS topic handlandmark_result 发布结果。它使用 Qualcomm AI Engine Direct SDK (QNN) 进行模型推理。
有关模型信息,请参见 MediaPipe-Hand-Detection。有关更多信息,请参见 sample_hand_detection GitHub 仓库。

sample_hand_detection 的管线流程
下图展示了 sample_hand_detection 的管线流程。
sample_hand_detection 管线。
sample_hand_detection 管线中使用的 ROS 节点
下表列出了 sample_hand_detection 管线中使用的 ROS 节点。
sample_hand_detection 管线中使用的 ROS topic
下表列出了 sample_hand_detection 管线中使用的 ROS topic。
前提条件
您已根据 安装 QIR SDK 在设备上完成设备设置、安装 ROS2 Jazzy 和 Qualcomm Intelligent Robotics (QIR) SDK。运行开箱即用的 sample_hand_detection
1
为运行示例应用创建必要的目录
Create the output directories
2
在开发套件上运行以下命令
Launch the sample application
3
在主机上运行以下命令
a. 启动 b. 依次选择以下按钮:c. 选择
rqt。handlandmark_result 查看结果。
