https://docs.opencv.org/3.4.0/da/d9d/tutorial_dnn_yolo.html

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

dom14

6 years 9 months ago

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.
 
Dom.

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