sample_hrnet_pose_estimation 示例应用使用 ROS 2 节点提供高精度的人体姿态估计。它使用 Qualcomm® AI Engine Direct SDK (QNN) 进行模型推理。
它处理输入图像并发布以下 ROS 2 topic:
/pose_estimation_results:带有可视化姿态关键点的输出图像。/pose_estimation_points:以结构化消息格式表示的原始关键点坐标。
注意
- 有关模型信息,请参见 HRNetPose - Qualcomm AI Hub。
- 有关更多信息,请参见 GitHub 上的 sample_hrnet_pose_estimation。
图:sample_hrnet_pose_estimation 的示例效果
sample_hrnet_pose_estimation 的流水线流程
图:sample_hrnet_pose_estimation 的流水线流程
sample_hrnet_pose_estimation 中使用的 ROS 节点
sample_hrnet_pose_estimation 中使用的 ROS topic
注意
/pose_estimation_points 包含原始图像上 17 个关键点的坐标。开发者可以订阅此 topic 进行二次开发。关键点包括:鼻子、左眼和右眼。具体对应关系如下:前提条件
你已完成 设置运行示例应用的环境 中的设置。开箱即用运行 sample_hrnet_pose_estimation
构建并运行 sample_hrnet_pose_estimation
以下步骤以 Dragonwing IQ-9075 Evaluation Kit 为例构建 sample_hrnet_pose_estimation 包。
试一试
试一试
1
在主机计算机上构建并打包
- 构建示例应用项目。
- 打包并将示例应用推送到设备。
2
在开发套件上安装并运行
- 安装示例应用。
SSH Session
- 按照 开箱即用运行 sample_hrnet_pose_estimation 中的步骤运行示例应用。

