Skip to content

People Tracker using ByteTracker and YOLOv8-nano ONNX Runtime

License

Notifications You must be signed in to change notification settings

yakhyo/people-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

People Tracker

Downloads GitHub License

Real-time multi-person tracking using YOLOv8-CrowdHuman + ByteTrack.

People Tracker Demo

Click to see higher quality video

out_video.mp4

Installation

git clone https://github.com/yakhyo/people-tracker.git
cd people-tracker
pip install -r requirements.txt

Download Weights

mkdir -p weights
wget -P weights https://github.com/yakhyo/people-tracker/releases/download/weights/yolov8n.onnx

Usage

python main.py --source 0 --view                    # Webcam
python main.py --source video.mp4 --save            # Video (auto output name)
python main.py --source video.mp4 --save out.mp4   # Video (custom output)
python main.py --source image.jpg --save            # Image

Controls: q quit, r reset tracker

Project Structure

people-tracker/
├── assets/          # Sample videos
├── bytetrack/       # ByteTrack tracker
├── models/          # YOLOv8 ONNX detector
├── weights/         # Model weights
├── utils.py         # Visualization
├── main.py          # Entry point
└── requirements.txt

References

About

People Tracker using ByteTracker and YOLOv8-nano ONNX Runtime

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages