face_image.jpg 作为输入,并将结果发布到 /mediaface_det_image topic。
有关模型信息,请参见 MediaPipe-Face-Detection - Qualcomm AI Hub。

sample_face_detection 的管线流程
下图展示了 sample_face_detection 的管线流程。
sample_face_detection 管线。
sample_face_detection 管线中使用的 ROS 节点
下表列出了 sample_face_detection 管线中使用的 ROS 节点。
sample_face_detection 管线中使用的 ROS topic
下表列出了 sample_face_detection 管线中使用的 ROS topic。
前提条件
您已根据 安装 QIR SDK 在设备上完成设备设置、安装 ROS2 Jazzy 和 Qualcomm Intelligent Robotics (QIR) SDK。从人脸检测的源代码构建
当您需要修改示例代码时,可以从源代码构建人脸检测示例。设备端步骤包括安装依赖项、克隆源代码仓库并构建软件包。设备端步骤
1
下载示例人脸检测模型
Download the models
2
安装依赖项
Install the dependencies
3
从 qrb_ros_sample 仓库下载源代码并构建
Download and build
4
运行 sample_face_detection 示例应用
Run the sample application

