Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ–ผ๏ธ Object Detection System with YOLOv8 & OpenCV

An object detection system built using YOLOv8 and OpenCV, capable of detecting and tracking multiple objects in images and videos with high accuracy and real-time performance.

๐Ÿš€ Features

๐Ÿง  YOLOv8 Model for state-of-the-art object detection

๐ŸŽฅ Real-time Video Processing using OpenCV

โšก Lightweight & Fast inference

๐Ÿ› ๏ธ Installation

Clone the repository:

git clone https://github.com/your-username/Object-Detection-YOLOv8.git cd Object-Detection-YOLOv8

Create a virtual environment (optional but recommended):

python -m venv venv source venv/bin/activate # Linux / Mac venv\Scripts\activate # Windows

Install dependencies:

pip install -r requirements.txt

๐Ÿ“ฆ Dependencies

Python 3.8+

OpenCV

Ultralytics YOLOv8

NumPy

Install them manually if needed:

pip install opencv-python ultralytics numpy

โ–ถ๏ธ Usage ๐Ÿ”น Run on an image python detect.py --image images/sample.jpg

๐Ÿ”น Run on a video python detect.py --video videos/sample.mp4

๐Ÿ”น Run on webcam python detect.py --webcam

๐ŸŽฏ Example Results ๐Ÿ“ธ Image Detection

๐ŸŽฅ Video Detection

Bounding boxes with labels are displayed in real time.

๐Ÿ“Š Model Performance Model Variant Speed (ms) mAP@50 Parameters YOLOv8n 1.2 37.3 3.2M YOLOv8s 1.9 44.9 11.2M YOLOv8m 2.8 50.2 25.9M ๐Ÿ—๏ธ Future Improvements

โœ… Object tracking (DeepSORT/ByteTrack integration)

โœ… Custom dataset training

โœ… Deploy as a web app (Flask/Streamlit)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the repo and submit a pull request.

๐Ÿ“œ License

This project is licensed under the MIT License.

About

An object detection system built using YOLOv8 and OpenCV, capable of detecting and tracking multiple objects

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages