Ask Your Question

Revision history [back]

Training a CNN with openCv using C++

Hi,

I have basically a set of 2D Points. So, lets say, I consider a big 200x200 Matrix and initialise it with Zeros. Now,I scale all of my 2D Points such that its x,y coordinates lie in the range of [0,200] (ofcourse,Integers). So, now,I fill my 200x200 Matrix with One's,wherever I have my point coordinates. So,My matrix is a collection of Zero's and One's.

Now,I would like to train a very simple Convolution neural network. Input: Matrix of size 200x200 Output: Labels as Integers (0,1,2,3).

Once CNN is modelled and trained, I would like to use it for classification. Please help!

Training a CNN with openCv using C++

Hi,

I have basically a set of 2D Points. So, lets say, I consider a big 200x200 Matrix and initialise it with Zeros. Now,I scale all of my 2D Points such that its x,y coordinates lie in the range of [0,200] (ofcourse,Integers). So, now,I fill my 200x200 Matrix with One's,wherever I have my point coordinates. So,My matrix is a collection of Zero's and One's.

Now,I would like to train a very simple Convolution neural network. network.

Input: Matrix of size 200x200
Output: Labels as Integers (0,1,2,3).

(0,1,2,3).

Once CNN is modelled and trained, I would like to use it for classification. Please help!