Character Recognition using opencv

asked 2017-10-16 04:23:41 -0500

Sagar9172 gravatar image

I am working on one project and in that i need to recognize text/character from image. I have tried OCR but in some cases it gives many false result. For example i have two images 1) image description 2) image description

This is clear image but when i try to recognize text it will give me "T" for first image and "S" for second image. Instead it should return "1" and "6". Can anyone tell me what's wrong i am doing and how to improve it?

edit retag flag offensive close merge delete



we don't know, how you achieve your results (are you even using opencv?).

berak gravatar imageberak ( 2017-10-16 06:25:15 -0500 )edit

Yes, OpenCV(C++) I have used loadOCRHMMClassifierCNN("OCRBeamSearch_CNN_model_data.xml.gz") to achieve this. Example demo from /home/Sagar/opencv_contrib/modules/text/samples/character_recognition.cpp

Sagar9172 gravatar imageSagar9172 ( 2017-10-16 07:33:39 -0500 )edit

still, we have to guess, what you're doing ? take a look at the faq , and try to improve it !

berak gravatar imageberak ( 2017-10-16 07:35:33 -0500 )edit

I want to recognize text from image using given opencv example. But it recognize false text. I don't think this is that much hard to understand.

Sagar9172 gravatar imageSagar9172 ( 2017-10-16 07:42:26 -0500 )edit