其他分享
首页 > 其他分享> > YOLO

YOLO

作者:互联网

 

cd catkin_ws/src
git clone http://gitee.com/kay2020/darknet_ros.git
cd ../

  

catkin_make -DCMAKE_BUILD_TYPE=Release

  

 安装相机

sudo apt-get install ros-noetic-usb-cam

  

 

darknet_ros/config/ros.yaml

  

subscribers:
  camera_reading:
    topic: /usb_cam/image_raw
    queue_size: 1

  

 

source devel/setup.bash
roslaunch darknet_ros darknet_ros.launch

  

 修改 darknet_ros.launch

 

arg name="network_param_file"         default="$(find darknet_ros)/config/yolov2-tiny.yaml"/
 
改为
 
arg name="network_param_file"         default="$(find darknet_ros)/config/yolov3.yaml"/

  

 

roslaunch darknet_ros darknet_ros.launch

  

 

标签:catkin,launch,darknet,YOLO,yaml,ros,config
来源: https://www.cnblogs.com/kay2018/p/15816454.html