Skip to content

toqaalaa20/Real-time-object-tracking

Repository files navigation

Real-time object tracking

  • This project aims to detect moving objects in a video and keep track of them.
  • YOLOv8 is used to detect and localize each object in each frame.
  • The DeepSort library from nwojke is used and modified to fit with the project and Tensorflow 2.X.

In this project:

  • Objects' detections are obtained using Yolov8
  • Non-max suppression is applied to the detections obtained from the YOLOv8 model in order to eliminate the overlapping bounding boxes using intersection over union
  • The tracker is updated with the output of the non-max suppression
  • Finally, a new video is produced using the updated tracks.

Get Started

  1. Clone this repository
git clone https://github.com/toqaalaa20/Real-time-object-tracking
  1. Install the requirements
pip install requirements.txt
  1. Input your source video
  • For an input video:
python main.py --input "path to your video"
  • For using your camera:
python main.py --input camera

Results:

Test_video.mp4

About

The Project aims to detect and track moving-objects in real-time. YOLOv8, and DeepSort are used to obtain the objects' tracks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors