Language data in ocr function not working
1 次查看(过去 30 天)
显示 更早的评论
I am using matlab 2015b, I have installed ocr language data using visionSupportPackages command. when I use ocr function using language string, it shows following error
Error using ocr
Too many input arguments.
Error in temp (line 5)
txt = ocr(im2,'Language','Bengali');
The code
im = imread('21.jpg');
im = rgb2gray(im);
level = graythresh(im);
im2=im2bw(im, level);
txt = ocr(im2,'Language','Bengali');
0 个评论
采纳的回答
Walter Roberson
2016-7-17
Please show the output of
which -all ocr
I suspect you have accidentally created your own ocr.m that is taking priority.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!