Matlab R2014a supports visionSupportPackages in Computer Vision Toolbox
6 views (last 30 days)
Show older comments
Whaether visionSupportPackages in Computer Vision Toolbox will support only in R2014b or it will also support R2014a. I had Matlab R2014a. But I can't able to install visionSupportPackages. It gives the error message as 'Undefined function or variable 'visionSupportPackages'. How to solve it. Thanks
Accepted Answer
Dima Lisin
on 8 Feb 2015
The support packages for the Computer Vision System Toolbox are only available for the release R2014b or later. There are only two support packages: Computer Vision System Toolbox OCR Language Data, and Computer Vision System Toolbox OpenCV Interface.
If you are interested in the OCR Language Data package, please check the documentation for the ocr function in the R2014a release for instructions on how to download Tesseract language data files.
7 Comments
Birju Patel
on 13 Feb 2015
Edited: Birju Patel
on 13 Feb 2015
Hi Brindha,
You'll need to put tam.traineddata in a folder named tessdata, for example:
c:/Brindha/PhaseII/SourceCode/Source Code/tessdata/tam.traineddata
That is the only way it will work.
I tried out amma.jpg and got the following results:
>> img = imread('amma.jpg');
>> r = ocr(img, 'lang', 'tessdata/tam.traineddata')
r =
ocrText with properties:
Text: 'அம்மஈ
'
CharacterBoundingBoxes: [7x4 double]
CharacterConfidences: [7x1 single]
Words: {'அம்மஈ'}
WordBoundingBoxes: [21 42 115 32]
WordConfidences: 0.8365
If you run this in MATLAB command window you might get weird looking results because your system isn't setup to render Tamil fonts. For my quick test, I launched MATLAB in -nodesktop mode in Linux so that the Tamil fonts would render correctly in the Linux terminal.
You can check out the following to see how to setup your machine to render Tamil text if you don't already have that working:
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!