Language data in ocr function not working
조회 수: 2 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!