Ask Your Question

Is this working code for Convolutional Neural Networks in the OpenCV source?

asked 2012-11-17 22:20:56 -0600

ZachTM gravatar image

Hello I have been trying to figure out how to use convolution neural networks over the past few days and I am having some trouble because of the limited documentation on it that I have found on the internet. I was sure opencv didnt have any classes that handled convolutional neural networks so I was trying to do research on them myself. Today I was looking through opencv source code, and in modules/ml/src there is a file called cnn.cpp. To my surprise the code looks like it is for convolutional neural networks (that and the comments in it say it is!). From what I see there is no documentation anywhere on this mysterious code so I was wondering if anyone knew if this was a working convolution neural network implementation? If so does it also handle backpropogation training? I have seen an opencv implementation of CNNs but it did not allow you to train the network. I am really interested in using a CNN so I would be willing to go through all the code myself to try make sense of it even without documentation I just am wondering if this code works? Thank you for any answers!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-11-19 13:04:21 -0600

Mahdi gravatar image

updated 2012-11-19 13:04:55 -0600

I have used CNN but not leveraging from OpenCV!!

There is a library that has a nice documentation and ease of use: eblearn

edit flag offensive delete link more


Awesome thank you! That file that exists in the opencv source code looks complete, but there is no definitions for any of the types used in the ml header, so I guess it is just incomplete code in the openCV source. Thank you for giving me an alternative!

ZachTM gravatar imageZachTM ( 2012-11-20 13:24:06 -0600 )edit

Question Tools

1 follower


Asked: 2012-11-17 22:20:56 -0600

Seen: 5,011 times

Last updated: Nov 19 '12