How can I recognize Japanese characters using OpenCV, C ++?

I have a program that extracts Japanese characters from Manga pages and I want to know what characters they use for character recognition.

I was playing around with the Matching pattern and trying to implement KNearest from scratch

How do I recognize the extracted characters?

I cannot find a good C ++ example about KNearest. I would also like to avoid Tesseract if possible.

I tried pattern matching on the character recognition image and it was detected correctly, but I need it to detect the extracted character. He can't figure it out exactly by playing around with the code http://docs.opencv.org/doc/tutorials/imgproc/histograms/template_matching/template_matching.html

An example of character detection:

Example of Character Detection

Example of extracted symbols:

Example of Extracted Characterenter image description here

Example template or training data:

enter image description hereenter image description here

+3
c ++ opencv ocr


source to share


No one has answered this question yet

Check out similar questions:

1783
C ++ 11 introduced a standardized memory model. What does it mean? And how will this affect C ++ programming?
1709
How can I profile C ++ code running on Linux?
1518
Image processing: improvement of the algorithm for the recognition of "Coca-Cola Can"
21
An example of OpenCV pattern matching in Android
fourteen
Install Tesseract font for OCR
five
What is the difference between phase correlation and pattern matching in OpenCV?
2
Subpixel precision match pattern
0
Pattern matching via OpenCV or JavaCV
0
Opencv variables not declared in this scope
-1
how to use opencv match pattern to load multiple images and one pattern



All Articles
Loading...
X
Show
Funny
Dev
Pics