
正文
ROS-opencv-人脸识别-物体追踪-二维码识别
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
前言:人脸识别是基于人的脸部特征信息进行身份识别的一种生物识别技术。用摄像机或摄像头采集含有人脸的图像或视频流,并自动在图像中检测和跟踪人脸,进而对检测到的人脸进行脸部识别的一系列相关技术,通常也叫做人像识别、面部识别。
前提:已下载并编译了相关功能包集,如还未下载,可通过git下载:https://github.com/huchunxu/ros_exploring.git
一、人脸识别启动命令
cd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch usb_cam.launchcd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch face_detector.launchrqt_image_view
cd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch usb_cam.launchcd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch face_detector.launchrqt_image_view
-------------------------------
显示效果:绿色边框就是识别效果

二、物体追踪输入命令:
cd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch usb_cam.launchcd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch motion_detector.launch
rqt_image_view
cd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch usb_cam.launchcd ~/catkin_ws/src/robot_perception/robot_vision/launchroslaunch motion_detector.launch
rqt_image_view
------------------------------
效果不是太好,有待探究
三、二维码识别安装功能包
sudo apt-get install ros-kinetic-ar-track-alvar
sudo apt-get install ros-kinetic-ar-track-alvar
-----------------------
不想写了..
-END-







