资源算法YOLOv3-Object-Detection-with-OpenCV

YOLOv3-Object-Detection-with-OpenCV

2020-03-04 | |  73 |   0 |   0

YOLOv3-Object-Detection-with-OpenCV

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?

  1. Clone the repository

git clone https://github.com/iArunava/YOLOv3-Object-Detection-with-OpenCV.git
  1. Move to the directory

cd YOLOv3-Object-Detection-with-OpenCV
  1. To infer on an image that is stored on your local machine

python3 yolo.py --image-path='/path/to/image/'
  1. To infer on a video that is stored on your local machine

python3 yolo.py --video-path='/path/to/video/'
  1. 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

图片.png

图片.png

图片.png

图片.png

Inference on Video

图片.png

Click on the image to Play the video on YouTube

Inference in Real-time

图片.png

Click on the image to Play the video on YouTube

References

  1. PyImageSearch YOLOv3 Object Detection with OpenCV Blog

License

The code in this project is distributed under the MIT License.


上一篇:Matrix-CapsNet-EM-routing-tensorflow

下一篇:YOLOv3-Series

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...