OCR Language Data files contain pretrained language data from
the OCR Engine, tesseract-ocr,
to use with the ocr function.
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.
Type visionSupportPackages in a MATLAB Command Window and follow the prompts.
Note
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.
ocr functionAfter 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 property.
txt = ocr(img,'Language','Finnish');
ocr | OCR Trainer | visionSupportPackages