https://github.com/mustafaozvardar/object-tracking-opencv
This project utilizes a custom EuclideanDistTracker class with OpenCV for tracking objects in videos.
https://github.com/mustafaozvardar/object-tracking-opencv
computer-vision opencv python
Last synced: 3 months ago
JSON representation
This project utilizes a custom EuclideanDistTracker class with OpenCV for tracking objects in videos.
- Host: GitHub
- URL: https://github.com/mustafaozvardar/object-tracking-opencv
- Owner: mustafaozvardar
- License: mit
- Created: 2024-08-19T11:43:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T10:10:59.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T00:23:53.649Z (over 1 year ago)
- Topics: computer-vision, opencv, python
- Language: Python
- Homepage:
- Size: 13 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# 🚗 Object Tracking with Euclidean Distance Tracker
## 📝 Project Overview
Welcome to the **Object Tracking** project! This project utilizes a custom `EuclideanDistTracker` class with OpenCV for tracking objects in videos. It includes:
- **Object Detection**: Detects moving objects using background subtraction.
- **Object Tracking**: Tracks objects across frames and assigns unique IDs based on Euclidean distance.
## 📋 Requirements
Make sure you have Python 3.x installed. You'll also need the following libraries:
- **OpenCV**: For image processing.
- **NumPy**: For numerical operations.
Install the required libraries using `pip`:
```bash
pip install opencv-python
pip install numpy
```
## 📁 Files
**main.py:** The main script for running object tracking.
**tracker.py:** Contains the implementation of the EuclideanDistTracker class.
## 🚀 Usage
Prepare Your Video: Place your video file (e.g., highway.mp4) in the same directory as main.py.
Run the Script:
```bash
python main.py
```
## 📜 License
This project is licensed under the MIT License. See the LICENSE file for more details.
---