ofxOpenCvDnnObjectDetection
Description
ofxOpenCvDnnObjectDetection is an addon for openframeworks(version.0.11.0).
I created this addon for beginers or learner who are going to try object detection with Yolo, SSD and R-CNN on OF. Latest oF includes opencv(version4) as a default opencv library, so you can run dnn object detection with ofxOpenCv.
Usage
See Examples for more details
single_image
Detection example for single image.
camera
Realtime Detection example for webcam video.
annotation
My annotation software to export a yolo format. It enables you to annotate image, video, camera. I'm preparing the manual to use it.... not yet.
Install and Run a single_image detection example.
1. Clone ofxOpenCvDnnObjectDetection to your of/addon directory
$ git clone https://github.com/TetsuakiBaba/ofxOpenCvDnnObjectDetection.git
Getting Started with Examples/single_image.
1. Download models
$ sh getWeights.sh
2. Open a project generator and import Example/single_image. Then click the update button.
3. Open the project with IDE and just run.
Sample result images
Compatibility
- only macOS ( tested on Catalina 10.15)
- oF version: 0.11.0
Licence
- Source Code: MIT
- Videos
Author
Reference
- Model Zoo on OpenCV DNN Module README page: https://github.com/opencv/opencv/blob/master/samples/dnn/README.md
- How to implement OpenCV Yolo on Openframeworks: https://qiita.com/buchayaty/items/4020100f531c07418f38