Skip to content

krutikabapat/DNN-Object-Detection-YOLOv3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNN-Object-Detection-YOLO3

Deep learning based object detection using YOLOv3 with OpenCV

Reference Blog

  1. https://www.pyimagesearch.com/2017/09/11/object-detection-with-deep-learning-and-opencv/

There are three main object detectors using deep learning:-

  1. R-CNN (Selective Search), Fast R-CNN( Region proposed Network and R-CNN).
  2. Single shot detectors (SSD).
  3. YOLO.

Both SSD and YOLO use one-stage detector strategy.

Requirements:-

  1. OpenCV 3.4.2 and above.

File structure:-

  1. Models.sh (contains link to model files).
  2. yolo.py (python code for yolo).
  3. yolo.cpp (c++ code for yolo).
  4. lady.jpeg (input image file).
  5. video.mp4

Usage:-

For python:-

  1. python3 yolo.py 'path to image' .
  2. python3 yolo_video.py --video 'path to video'

For C++

  1. g++ yolo.cpp pkg-config --cflags --libs opencv

Run time:-

  1. 0.7514 seconds

About

deep learning based object detection using YOLOv3 with OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published