Object Detection with YOLOv3 on opencv-python
In this article you will learn how to object detection with YOLOv3 weight on Python environment.
Pheasant-tailed Jacana detection with YOLOv3 on opencv-python. You can change the detect object with your own training…
Pheasant-tailed Jacana detection with YOLOv3 on opencv-python.
You can change the detect object with your own training weights.
$ pip install -r requirements.txt
First, download the pretrained weights from here and put it to
Then type the following commands:
$ python yolo.py --image ./images/test.jpg --yolo yolo-bird
If you follow the previous step to downloaded the pretrained weights, you could just type the following commands:
$ python yolo-video.py --input videos/test.mp4 --output output/test.avi --yolo yolo-bird
The result video will be saved in output/test.avi
Take a Look at yolo-bird folder
We have 3 files inside:
- voc-bird.names : The name of the object
- yolov3_10000.weights : The weights we use as our detection model.
- yolov3-bird.cfg : The configuration of our yolov3 model
This project is based on the following articles: