OCR function undefined in 2014a?

1 view (last 30 days)
David Peiffer
David Peiffer on 20 Mar 2014
Commented: David Peiffer on 25 Mar 2014
I'm relatively new to MATLAB and am working through some examples. I have not been able to get this example to work. http://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1
The error that keeps getting returned is
Undefined function 'ocr' for input arguments of type 'uint8'.
Error in ocrExample (line 11)
ocrResults = ocr(businessCard);
So far I have:
  • Double checked that I have version 2014a.
  • Ensured I'm typing into a script (not the command window).
  • Made sure I have the Image Processing and Computer Vision add-on installed.
  • imshow('businessCard.png') returns the image, so it's not an image location issue.
Could anyone offer some assistance?
  4 Comments
Viju
Viju on 20 Mar 2014
This may occur if the Computer Vision System Toolbox is not installed. Type out VER in the MATLAB Command Prompt and see if you find this toolbox listed.
David Peiffer
David Peiffer on 25 Mar 2014
Thank you! I learned the Computer Vision System Toolbox is not part of my university license, hence the issues.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!