Skip to content
OpenCV based DNN Object Detection Library for Openframeworks
C++ Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples fixed miss push Jul 25, 2019
libs fixed miss push Jul 25, 2019
sample_images Update and fixed many files Jul 18, 2019
src Update and fixed many files Jul 18, 2019
.DS_Store fixed miss push Jul 25, 2019
.gitattributes Initial commit Mar 1, 2019
.gitignore Update and fixed many files Jul 18, 2019
LICENSE Initial commit Mar 1, 2019
README.md Update and fixed many files Jul 18, 2019
addon_config.mk Update and fixed many files Jul 18, 2019
addon_config.mk.backup no brew but framework May 29, 2019
clean.sh Initial commit Mar 1, 2019
getWeights.sh Update and fixed many files Jul 18, 2019

README.md

ofxOpenCvDnnObjectDetection

sample_images/result_sample01.gif

Description

ofxOpenCvDnnObjectDetection is an addon for openframeworks.

OpenCV v.3.3.1 or upper includes dnn module ( https://docs.opencv.org/3.4.1/da/d9d/tutorial_dnn_yolo.html ) in their own package. Therefore I designed ofxOpenCvDnnObjectDetection with OpenCV v.3.3.1 or upper version.

I created this addon for beginers or learner who are going to try object detection with Yolo, SSD and R-CNN on OF.

Usage

See Examples for more details

single_image

single_image screenshot Detection example for single image.

camera

Realtime Detection example for webcam video.

annotation

annotation screenshot 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

1. Clone ofxOpenCvDnnObjectDetection to your of/addon directory

$ git clone https://github.com/TetsuakiBaba/ofxOpenCvDnnObjectDetection.git

2. Download OpenCV.framework to ofxOpenCvDnnObjectDetection/libs directory.

$ curl -O https://tetsuakibaba.jp/tmp/opencv2.framework.zip
$ unzip opencv2.framework.zip

Or you may build your own opencv.framework from opencv source. ( http://tetsuakibaba.jp/ws/doku.php?id=opencv_dnn:opencv2.framework )

Getting Started with Examples/single_image.

1. Download models

$ sh getWeights.sh

2. Update single_image with the projectGenerator.

3. Run

Sample result images

sample_images/result_sample02.gif

Compatibility

  • only macOS ( tested on Mojave)
  • of version: 0.10.1

Licence

Author

TetsuakiBaba

Reference

  1. Model Zoo on OpenCV DNN Module README page: https://github.com/opencv/opencv/blob/master/samples/dnn/README.md
  2. How to implement OpenCV Yolo on Openframeworks: https://qiita.com/buchayaty/items/4020100f531c07418f38
You can’t perform that action at this time.