Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

text recognition using opencv contrib text module

$
0
0
Hi I would like to be able to recognize character in a image. For that I try to use the sample code give [here](https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/character_recognition.cpp) but I have this error. Any ideas ? thanks ! Ptr ocr = loadOCRHMMClassifierCNN("OCRBeamSearch_CNN_model_data.xml.gz"); I have this error OpenCV Error: Bad argument (Default classifier data file not found!) in OCRHMMClassifierCNN, file /home/benng/bin/opencv_working_dir/opencv_contrib/modules/text/src/ocr_hmm_decoder.cpp, line 973 terminate called after throwing an instance of 'cv::Exception' what(): /home/benng/bin/opencv_working_dir/opencv_contrib/modules/text/src/ocr_hmm_decoder.cpp:973: error: (-5) Default classifier data file not found! in function OCRHMMClassifierCNN [1] 12754 abort (core dumped) ./DisplayImage

Viewing all articles
Browse latest Browse all 19555

Trending Articles