Language data in ocr function not working
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mir Pias
am 17 Jul. 2016
Bearbeitet: Walter Roberson
am 17 Jul. 2016
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 17 Jul. 2016
Please show the output of
which -all ocr
I suspect you have accidentally created your own ocr.m that is taking priority.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Computer Vision Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!