https://github.com/zafarrehan/object_detection_coco
This repo uses pre-trained SSD MobileNet V3 model to detect objects belonging to 80 different classes in images and videos
https://github.com/zafarrehan/object_detection_coco
mobilenet-v3 object-detection opencv video-processing
Last synced: 2 months ago
JSON representation
This repo uses pre-trained SSD MobileNet V3 model to detect objects belonging to 80 different classes in images and videos
- Host: GitHub
- URL: https://github.com/zafarrehan/object_detection_coco
- Owner: zafarRehan
- Created: 2021-12-25T10:26:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-13T18:11:04.000Z (over 3 years ago)
- Last Synced: 2025-03-25T07:36:12.222Z (3 months ago)
- Topics: mobilenet-v3, object-detection, opencv, video-processing
- Language: Python
- Homepage:
- Size: 15.3 MB
- Stars: 11
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Object Detection
This repository uses pre-trained MobileNet-SSD v3 model for Object Detection
https://github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-APIThe model uses COCO dataset for training
https://cocodataset.org/#overviewThe COCO dataset consists of 80 classes of images (View all) so the objects detected would belong from one of these classes only.
You can download the test_video from:
https://drive.google.com/file/d/1EPngtG-X4NCOoadeo1Fk556Yhejuvp5C/view?usp=sharing
or you can use any video of your choiceRequired Libraries
pip install opencv-python
Usage
This repository has 2 files:
1. detection_code_image.py
2. detection_code_video.py
Image
Change the 'your image path' in detection_code_image.py at line:23 to the path of your image to detect objects in your Image
Example Input Image:
![]()
Example Output Image:
![]()
Video
Change the 'your image path' in detection_code_video.py at line: 21 to the path of your video to detect objects in your Video
Example Input Video:
![]()
Example Output Video:
![]()