2014b OCR error using ara.traineddata
20 ビュー (過去 30 日間)
古いコメントを表示
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
2017 年 12 月 11 日
Hello, I too face exactly same issue!. Have you found a solution for it ? Mine is mal.traineddata
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!