Skip to content

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation







🎬 Project Preview


πŸš€ Overview

Teaching computers to understand the world in real time.

This project implements YOLOv8 Object Detection using the Ultralytics Framework.

The application detects multiple objects simultaneously from:

✨ Images
πŸŽ₯ Videos
πŸ“Ή Live Webcam

Every detected object is displayed with

  • 🎯 Bounding Box
  • πŸ“Œ Class Label
  • πŸ“ˆ Confidence Score

making real-time computer vision simple and powerful.


✨ Features

Feature Status
πŸ–ΌοΈ Image Detection βœ…
πŸŽ₯ Video Detection βœ…
πŸ“· Webcam Detection βœ…
⚑ Real-Time Inference βœ…
🎯 Confidence Scores βœ…
πŸ“¦ Pretrained YOLOv8 Models βœ…
πŸš€ GPU Support (CUDA) βœ…
πŸ”§ Custom Dataset Ready βœ…

🧠 Detection Pipeline

             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚   Input Source      β”‚
             β”‚Image / Video / Cam β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚      OpenCV        β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚ YOLOv8 Inference   β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚ Object Detection   β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚Bounding Boxes + AI β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚ Final Prediction   β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

βš™οΈ Tech Stack

Technology Purpose
🐍 Python Programming
πŸ‘οΈ OpenCV Computer Vision
πŸ”₯ PyTorch Deep Learning
πŸ€– YOLOv8 Object Detection
πŸš€ Ultralytics Model Framework

πŸ“‚ Project Structure

object-detection
β”‚
β”œβ”€β”€ detect_image.py
β”œβ”€β”€ detect_webcam.py
β”‚
β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ detected_image.png
β”‚   β”œβ”€β”€ object_detected_video.mp4
β”‚   └── object_detection_through_webcam.mp4
β”‚
β”œβ”€β”€ requirements.txt
└── README.md

πŸš€ Installation

git clone https://github.com/vishnu-R2005/object-detection.git

cd object-detection

python -m venv venv

Windows

venv\Scripts\activate

Linux/macOS

source venv/bin/activate

Install dependencies

pip install ultralytics opencv-python

β–Ά Usage

πŸ–ΌοΈ Detect Objects in Image

python detect_image.py --image image.jpg

πŸŽ₯ Detect Objects in Video

python detect_image.py --video video.mp4

πŸ“Ή Live Webcam

python detect_webcam.py --video 0

πŸ“· Sample Results

Image Detection Video Detection

πŸ“Š YOLOv8 Performance

Model mAP Speed
YOLOv8n ⭐⭐⭐⭐ ⚑⚑⚑⚑⚑
YOLOv8s ⭐⭐⭐⭐⭐ ⚑⚑⚑⚑
YOLOv8m ⭐⭐⭐⭐⭐⭐ ⚑⚑⚑

🌎 Applications

πŸš— Autonomous Driving

🏭 Manufacturing

πŸ›’ Retail Analytics

πŸŽ₯ Smart Surveillance

🚦 Traffic Monitoring

🌿 Agriculture

πŸ€– Robotics

🐘 Wildlife Monitoring

πŸ₯ Healthcare

πŸš€ Future Roadmap

  • Image Detection
  • Webcam Detection
  • Video Detection
  • Custom Training
  • Flask Deployment
  • Django REST API
  • Docker Container
  • TensorRT
  • ONNX Export
  • Multi Object Tracking
  • AWS Deployment

πŸ“ˆ Skills Demonstrated

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘  Computer Vision

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘  Deep Learning

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘  YOLOv8

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘  OpenCV

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘  PyTorch

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘  Real-Time AI

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘  Object Detection

πŸ‘¨β€πŸ’» About the Developer

Vishnu R

Python Backend Developer β€’ AI Enthusiast β€’ Computer Vision Learner

This project reflects my passion for combining Artificial Intelligence with practical software engineering.

By building this application, I strengthened my understanding of

  • Deep Learning
  • OpenCV
  • Object Detection
  • Real-Time Inference
  • PyTorch
  • Computer Vision Pipelines

I enjoy building intelligent software that solves real-world problems using Python and AI.


⭐ Support

If you like this project

⭐ Star the Repository

🍴 Fork it

πŸ› οΈ Contribute

πŸ’¬ Share Feedback



πŸ’™ Developed with Passion by Vishnu R

"Teaching computers to see the world, one frame at a time."

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages