Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Real-time object detection using a custom-trained YOLOv3 model based on the COCO dataset, integrated with OpenCV for video and image inference.

Notifications You must be signed in to change notification settings

kanha2907/detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

detector

Real-time object detection using a custom-trained YOLOv3 model based on the COCO dataset, integrated with OpenCV for video and image inference.

πŸš€ YOLOv3 Object Detection – COCO Trained AI Model

This project implements real-time object detection using a YOLOv3 model trained on the COCO dataset. It utilizes OpenCV's DNN module for fast inference and supports image, video, and webcam detection.


πŸ“¦ Contents

ai_model/
β”œβ”€β”€ yolov3.cfg         # YOLOv3 configuration file
β”œβ”€β”€ yolov3.weights     # Trained weights (COCO)
β”œβ”€β”€ coco.names         # COCO class labels (80 classes)
β”œβ”€β”€ detect.py          # Python script for running inference

##🧠 Model Info
Model Type: YOLOv3

Dataset: COCO (Common Objects in Context)

Classes: 80 (person, bicycle, car, dog, etc.)

Framework: OpenCV with DNN backend

Input Size: 416Γ—416

##πŸ”§ Setup
Install dependencies:

bash
Copy
Edit
pip install opencv-python numpy
Download YOLOv3 weights if not present:
https://pjreddie.com/media/files/yolov3.weights

Run the detection script:

bash
Copy
Edit
python detect.py --image input.jpg
Or for webcam:

bash
Copy
Edit
python detect.py --webcam

About

Real-time object detection using a custom-trained YOLOv3 model based on the COCO dataset, integrated with OpenCV for video and image inference.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages