This is a Python Tkinter application for real-time object detection using the YOLOv3 deep learning model.
It allows you to:
- Detect objects in uploaded images
- Detect objects in uploaded videos
- Detect objects live through your laptop camera
- YOLOv3 deep learning model for object detection
- Image and video upload support
- Live camera feed detection
- Full-screen responsive interface
- Displays total object count and detailed counts per object
- Easy to exit with a dedicated Exit button
yolo_object_detection/
│
├── app.py # Main application file
├── yolov3.cfg # YOLOv3 model configuration
├── yolov3.weights # YOLOv3 pretrained weights
├── coco.names # Object class names
├── README.md # Project documentation
└── env/ # Python virtual environment (optional)
git clone https://https://github.com/Cherish01-spec/YOLO-Object-Detection.git
cd YOLO-Object-Detectionpython -m venv env
.\env\Scripts\activate # For Windows
# source env/bin/activate # For Mac/Linuxpip install -r requirements.txtIf you don’t have a requirements.txt, install manually:
pip install opencv-python pillow numpy- yolov3.weights
- yolov3.cfg
- coco.names
Place these files in the same directory as app.py.
python app.py- Upload Image → Detects objects in selected image file.
- Upload Video → Detects objects in a video file.
- Live Video → Detects objects in real-time using laptop camera.
- Exit → Closes the application.
- Python 3.7+
- OpenCV
- Pillow
- NumPy
- YOLOv3 Model files (
yolov3.cfg,yolov3.weights,coco.names)
This project is licensed under the MIT License – feel free to use and modify.