Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

classifier problem of charaters or numbers

I used HOG and SVM to train and classify the charaters or numbers for OCR. Everything seems very good, I can get a label value after prediction, but as we know, I used multiclass for the charaters and numbers, such as,

number 0  label value (20)
number 1  label value (21)
number 2  label value (22)
......
character A  label value (31)
character B  label value (32)
......

When I used findContours to get a contour without chaarcters or numbers inside, I still got a value from prediction, 20 or something. What is the problem?