iArunava/YOLOv3-Object-Detection-with-OpenCV
关于
This project implements a real-time image and video object detection classifier using pretrained yolov3 models.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文YOLOv3-Object-Detection-with-OpenCV
bash grab.sh # fetch runtime deps
This project implements an image and video object detection classifier using pretrained yolov3 models. The yolov3 models are taken from the official yolov3 paper which was released in 2018. The yolov3 implementation is from darknet. Also, this project implements an option to perform classification real-time using the webcam.
How to use?
- Clone the repository
git clone https://github.com/iArunava/YOLOv3-Object-Detection-with-OpenCV.git
- Move to the directory
cd YOLOv3-Object-Detection-with-OpenCV
- To infer on an image that is stored on your local machine
python3 yolo.py --image-path='/path/to/image/'
- To infer on a video that is stored on your local machine
python3 yolo.py --video-path='/path/to/video/'
- To infer real-time on webcam
python3 yolo.py
Note: This works considering you have the weights and config files at the yolov3-coco directory.
If the files are located somewhere else then mention the path while calling the yolov3.py. For more details
yolo.py --help
Inference on images

Inference on Video
Click on the image to Play the video on YouTube
Inference in Real-time
Click on the image to Play the video on YouTube
References
License
The code in this project is distributed under the MIT License.
探索相关项目
加载中…