2014b OCR error using ara.traineddata

Hello,
I am using the Matlab2014b OCR with ara.traineddata downloaded from GitHub. Here is my simple code and corresponding error message:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
im = imread('Arabic_SMK2.png');
img = rgb2gray(im);
txt = ocr(img, 'Language', 'C:\Program Files\MATLAB\R2014b\downloads\tessdata\ara.traineddata');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Internal error:
actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file
..\..\ccutil\tessdatamanager.cpp, line 50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
what should I do to fix this problem?
BTW, ara.traineddata is Tesseract 4.0 version.

댓글 수: 1

MUHAMMED IRFAN
MUHAMMED IRFAN 2017년 12월 11일
Hello, I too face exactly same issue!. Have you found a solution for it ? Mine is mal.traineddata

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

질문:

2017년 1월 20일

댓글:

2017년 12월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by