1.3 KiB
人手关键点检测算法部署流程:用MIPI摄像头发布为照片
-
配置tros.b环境 foxy版本:source /opt/tros/setup.bash humble版本:source /opt/tros/humble/setup.bash
-
从tros.b的安装路径中拷贝出运行示例需要的配置文件。 cp -r /opt/tros/${TROS_DISTRO}/lib/mono2d_body_detection/config/ . cp -r /opt/tros/${TROS_DISTRO}/lib/hand_lmk_detection/config/ .
-
配置MIPI摄像头 export CAM_TYPE=mipi
-
启动launch文件 ros2 launch hand_lmk_detection hand_lmk_detection.launch.py
-
测试效果 运行成功后在pc端游览器输入:http://IP:8000,即可查看图像和算法渲染效果(IP为RDK的IP地址)
人手关键点检测算法部署流程:用usb摄像头发布为照片
-
配置tros.b环境 foxy版本:source /opt/tros/setup.bash humble版本:source /opt/tros/humble/setup.bash
-
从tros.b的安装路径中拷贝出运行示例需要的配置文件。 cp -r /opt/tros/${TROS_DISTRO}/lib/mono2d_body_detection/config/ . cp -r /opt/tros/${TROS_DISTRO}/lib/hand_lmk_detection/config/ .
-
配置usb摄像头 export CAM_TYPE=usb
-
启动launch文件 ros2 launch hand_lmk_detection hand_lmk_detection.launch.py
-
测试效果 运行成功后在pc端游览器输入:http://IP:8000,即可查看图像和算法渲染效果(IP为RDK的IP地址)