This project implements real-time object detection using YOLOv3 (You Only Look Once) and a webcam feed, built with Python and OpenCV. It detects objects from 80 different classes defined in the COCO dataset and displays bounding boxes with labels and confidence scores.
- Real-time object detection using webcam feed
- Detects 80 different object classes from the COCO dataset
- Displays bounding boxes with class labels and confidence scores
- Uses YOLOv3 pre-trained model
Before running the project, ensure you have the following:
- Python 3.6+
- OpenCV (
pip install opencv-python
) - NumPy (
pip install numpy
)
yolov3.weights
- Pre-trained weights file (~237MB)yolov3.cfg
- YOLO configuration filecoco.names
- File containing 80 class names
Download these files:
Place all downloaded files in the same directory as the Python script.
- Clone this repository:
git clone <repository-url>
cd <repository-name>