So... it works! sweet! Here's the proof!
I've integrated Deeplearning4j into MyRobotLab, so now we can take advantage of neural networks to help us recognize objects in video streams in real time. Deeplearning4j is an open source project and you do not need to be connected to the internet to use it, except for the first time it downloads the models.
We have integrated an image classifier based on the VGG16 model that was built using the ImageNet dataset. It does a pretty good job as recognizing about 9000 different objects. This model is about 500MB so when it first downloads, it's pretty slow, so be patient!
So, the way it works now, if you add the "dl4j" filter to the OpenCV service, it will start a deeplearning4j service, and load the VGG16 model. As the video stream comes in from OpenCV, the frames are passed to the deeplearning4j service and it returns back a list of items that it has classified and their associated confidence levels of the classification.
One other item of note is that the classification happens as fast as it can on a separate thread, so adding this filter to opencv doesn't slow down the frame rate at all!!! I was about to get 30FPS from OpenCV (even though, it was only updating the classification about once per second.)
Congrats wizard. This is
Congrats wizard. This is magic.
Amazing stuff, Kwatters
I am so amazed with how you have been able to get this all integrated. I will have to dig through the site for a how to on getting this all setup when I get home today and try to lock myself in the lab for the weekend! Thanks for sharing and for all your hard work!!! I really appreciate your dedication to continue to make this pproject cutting edge!!!
Kyle
Very nice. Which processor do
Very nice. Which processor do you use ? Which OS ?
Thank you.
This looks amazing....
do you know the Yolo Network ?
If this works also with Dl4J it would be able to detect multiple objects and not just one.
https://pjreddie.com/darknet/yolo/
There are plenty of videos on youtube about the yolo neural network. and the wights are avalible for download also i think.
This is awesome Great work
This is awesome
Great work Kevin
Great work Kwatters
Great work Kwatters
My observations so far
1.. It's awesome
Here's some Python to get it worky
mrl development build 2354
Magic !! Manticore,
Magic !!
Manticore, DL4J,... Thanks for your work![](http://myrobotlab.org/sites/all/modules/ckeditor/ckeditor/plugins/smiley/images/thumbs_up.gif)
thanks!
really awsome feature!
It seems I have Problems
It seems I have Problems downloading the zip folder, i tried severall times but it wont work. Send a noworky. Im trying on Windows 10 wiht opencv 3.3 build 2394.
Dear Acapulco Rolf Thanks
Dear Acapulco Rolf
Thanks for sharing these step , it's very helpful
I'm stuck on where the zip file should be downloaded !
and i did these step in my MRL version 1.0.2693.16 but it did not recognize anything..
Any advice ?
Thanks a lot
Raspberry Pi - dl4j dependancies
Additional dependancies for the Raspebrry Pi are here
There is a readme file in the same location with instructions
There's an "out of memory" condition on the Pi when the dl4j service starts up
One way to overcome that will be to use a smaller model file than the 500Mb VGG16 model