https://github.com/vubacktracking/yolo-bytetrack-vehicle-tracking
Vehicle Tracking and Counting using Yolo and ByteTrack
https://github.com/vubacktracking/yolo-bytetrack-vehicle-tracking
bytetrack vehicle-counting vehicle-detection vehicle-tracking yolo yolov8
Last synced: 4 months ago
JSON representation
Vehicle Tracking and Counting using Yolo and ByteTrack
- Host: GitHub
- URL: https://github.com/vubacktracking/yolo-bytetrack-vehicle-tracking
- Owner: VuBacktracking
- Created: 2024-04-17T15:43:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T13:19:07.000Z (over 1 year ago)
- Last Synced: 2025-06-26T16:07:10.901Z (4 months ago)
- Topics: bytetrack, vehicle-counting, vehicle-detection, vehicle-tracking, yolo, yolov8
- Language: Python
- Homepage:
- Size: 79.5 MB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vehicle Tracking and Counting with YOLOv8 and ByteTrack
This project demonstrates vehicle tracking and counting using YOLOv8 and ByteTrack. The combined approach offers high accuracy and robustness in real-time vehicle detection, tracking, and counting tasks.
## Table of Contents
- [Vehicle Tracking and Counting with YOLOv8 and ByteTrack](#vehicle-tracking-and-counting-with-yolov8-and-bytetrack)
- [Table of Contents](#table-of-contents)
- [Introduction](#introduction)
- [ByteTrack](#bytetrack)
- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Demo](#demo)
## Introduction
Vehicle tracking and counting are essential tasks in traffic management, surveillance, and smart city applications. This project leverages the capabilities of YOLOv8 and ByteTrack to achieve real-time and accurate vehicle detection, tracking, and counting.
---
### ByteTrack
---
## Features
- Real-time vehicle detection using YOLOv8
- Multi-object tracking with ByteTrack
- Vehicle counting and analysis
- User-friendly interface
## Requirements
- Python 3.x
- PyTorch
- Supervision
- Ultralytics - YOLO
## Installation
Clone the repository and install the required packages:
```bash
git clone https://github.com/VuBacktracking/yolo-bytetrack-vehicle-tracking.git
```
Setup virtual enviroment
```bash
python3 -m venv my_venv
source my_venv/bin/activate
```
Install the requirements
```bash
pip install -r requirements.txt
```
## Usage
Run the main.py
```bash
python3 main.py
```
## Demo
https://github.com/VuBacktracking/yolo-bytetrack-vehicle-tracking/assets/95456622/ab2e3eb4-f673-4cc5-a0a3-ec6955bd0cdd