Install OCR Language Data Files
After you install third-party support files, you can use the data with the Computer Vision Toolbox™ product. To install the Add-on support files, use one of the following methods:
Select Get Add-ons from the Add-ons drop-down menu from the MATLAB® desktop. The Add-on files are in the “MathWorks Features” section.
visionSupportPackagesin a MATLAB Command Window and follow the prompts.
You must have write privileges for the installation folder.
When a new version of MATLAB software is released, repeat this process to check for updates. You can also check for updates between releases.
Pretrained Language Data and the
After you install the pretrained language data files, you can specify one or more additional
languages using the
Language property of the
ocr function. Use the appropriate language character vector with the
txt = ocr(img,'Language','finnish');