/bytetrack_ros

ByteTrack + ROS2 (foxy)

Primary LanguageC++MIT LicenseMIT

bytetrack_ros

This package is a port of ByteTrack to ROS2. The object detector is assumed to be YOLOX-ROS.

MOT16-04.mp4
  • demo video is MOT16-04, using yolox-s model.

Requirements

Usage (OpenVINO)

Install

source /opt/ros/foxy/setup.bash
source /opt/intel/openvino_2021/bin/setupvars.sh

cd ~/ros2_ws/src
git clone https://github.com/fateshelled/bytetrack_ros
git clone https://github.com/fateshelled/ros_video_player
git clone --recursive https://github.com/Ar-Ray-code/YOLOX-ROS

# Download onnx file and Convert to IR format.
./YOLOX-ROS/weights/openvino/install.bash yolox_s

RUN

cd ~/ros2_ws
source /opt/ros/foxy/setup.bash
source ./install/setup.bash

# launch with WebCam
ros2 launch bytetrack_cpp_node bytetrack_openvino.launch.py

# launch with Video File
ros2 launch bytetrack_cpp_node bytetrack_openvino.launch.py video_path:={video file path}

ros graph

rosgraph