winston1214 / Deepsort_yolov5_ros

Deepsort yolov5 in ros melodic
6 stars 2 forks source link

Deepsort yolov5 in ros melodic1

Environment

Associative Repository : How to use ROS

Direction

If you created an ROS workspace(ex. catkin_ws), you put the git clone https://github.com/winston1214/Deepsort_yolov5_ros.git in workspace

$ cd catkin_ws/src
$ git clone https://github.com/winston1214/Deepsort_yolov5_ros.git
$ cd ..
$ catkin_make

Train

YOLOv5 Training

Detect

$ roscore
$ cd catkin_ws/src/Deepsort_yolov5_ros
$ python3 ros_track.py --source ros --weights weights/small_best.pt
$ python3 ros_track.py --source file_path --weights weights/small_best.pt