Matlab R2014a supports visionSupportPackages in Computer Vision Toolbox

1 次查看(过去 30 天)
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

采纳的回答

Dima Lisin
Dima Lisin 2015-2-8
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 个评论
Birju Patel
Birju Patel 2015-2-13
编辑:Birju Patel 2015-2-13
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:
Brindha
Brindha 2015-2-13
Thanks a lot Birju Patel. I had a windows vista. All the ocrText Properties except Words was working well and also the same values as yours. I also check your link for change the local settings also. I will check it further. Thanks for your kind and timely reply. Thanks a lot. Brindha.S

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by