How to get rid o such type of errors "Undefined function 'ocr' for input arguments of type 'uint8'".
2 views (last 30 days)
Show older comments
businessCard = imread('engineer.png');
ocrResults = ocr(businessCard);
recognizedText = ocrResults.Text;
figure;
imshow(businessCard);
text(600, 150, recognizedText, 'BackgroundColor', [1 1 1]);
1 Comment
C.J. Harris
on 2 Dec 2014
I'd suggest you define a function called 'ocr' for input arguments of type 'unit8'.
We can't help you without knowledge of the ocr function.
Answers (1)
Geoff Hayes
on 2 Dec 2014
ver
to see your version of MATLAB and all installed toolboxes. Or, in the Command Window, type
which ocr -all
to find the location of this function. If you don't have it or the toolbox, then you will need to purchase the latter.
2 Comments
See Also
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!