Yolo DNN support now in OpenCV !


We all want Yolo - best place for it probably is in OpenCV service as a filter .. 
This means it needs to be supported in JavaCV

Exciting times !

Moz4r's ticket - https://github.com/MyRobotLab/myrobotlab/issues/165

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dom14's picture

Hi Grog,   For the

Hi Grog,
For the moment, yolo service work only with one photo or picture. If you want video filter with openCV, you need a big graphical processor. So it will not compatible with all configuration.
kwatters's picture

Yolo and JavaCV 1.4

So, good news...  JavaCV 1.4 works with Yolo.  I have some basic test code working and returning back the object label and bounding box for any objects that are above a confidence recognition threshold.

But this definitely means we need to bump to javacv 1.4

I just pushed those changes..  (probably should have tested a bit more before i did so.. :-P )  

Anyway.. there are 3 files required for getting yolo working with javacv 1.4

yolo.weights  found here:  https://pjreddie.com/media/files/yolo.weights

yolo.cfg found here: https://github.com/pjreddie/darknet/blob/master/cfg/yolo.cfg

coco.names  found here: https://github.com/pjreddie/darknet/blob/master/data/coco.names