Skip to content

Simple, online, and realtime tracking of multiple objects in a video sequence, Personal implementation

License

Notifications You must be signed in to change notification settings

setarekhosravi/SORT

Repository files navigation

YOLOv5 Integration with SORT Tracker for Real-time Object Tracking

This project demonstrates the integration of the SORT (Simple Online and Realtime Tracking) algorithm with YOLOv5 for efficient and accurate object tracking. By combining YOLOv5's robust object detection capabilities with SORT's lightweight tracking, this implementation provides a seamless solution for real-time multi-object tracking. The system is designed to detect and track objects across frames in a video stream, maintaining high performance while being easy to use and modify for various applications.

Run on Image Sequences

  1. To run the object tracking with YOLOv5 and SORT, follow these steps:
git clone https://github.com/setarekhosravi/SORT.git
cd SORT
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Then clone and install yolov5 repository:
pip install ultralytics
git clone https://github.com/ultralytics/yolov5  # clone
cd yolov5
pip install -r requirements.txt  # install
  1. Run the tracking example:
python track.py --weights /path/to/yolov5/weights --input_type image --input_path /path/to/image/sequence --save_mot true --save_path /save/path --save_video false
                                                               video (not implemented)                               false                                    true

About

Simple, online, and realtime tracking of multiple objects in a video sequence, Personal implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages