2015-02-07 00:06:34 -0600 | received badge | ● Student (source) |
2015-02-05 03:53:28 -0600 | asked a question | Digit recognition : training responses I have the following code I'm using for digit recognition. Unfortunately the results are quite disappointing. I'm not sure but I feel like I'm doing something wrong with the training responses. For testing purposes, I'm trying to recognize the very same image samples I used for training. As a result, I have this kind of responses This if for k = 1 (2nd argument of find_nearest method). With k=32, I have 0.0 all around. What am I doing wrong ? This is a bit overwhelming. |
2015-02-05 03:38:49 -0600 | commented question | Digit recognition : find_nearest() sample argument indeed, I had no error with reshape(1,1). If you make an answer I'll accept it. |
2015-02-03 09:43:39 -0600 | commented question | Digit recognition : find_nearest() sample argument Thanks for the link. I still don't understand what "used features" stands for ? As for the inputs, I added them in my post. |
2015-02-03 07:35:36 -0600 | asked a question | Digit recognition : find_nearest() sample argument I'm doing digit recognition on Android. I've got the following error thrown when I try to use the find_nearest() function : I looked up the definition of this function and the error comes from there (knearest.cpp line 322) : The type of my sample Mat is already CV_32FC1, so we're down to My inputs for find_nearest() look like this : I added the reshape according to this post on SO, without any luck. My question is : what is |
2015-02-02 09:53:49 -0600 | received badge | ● Editor (source) |
2015-02-02 09:47:45 -0600 | asked a question | find_nearest() on Android for digit recognition I'm trying to make the find_nearest() function work on Android. After having trained my CvKNearest object, I want to test it with the same images I used for training. My code looks like this : As my code suggests, I have no clue what the parameters for the find_nearest() method mean, and I have this error : Could someone guide me a bit through this ? |