OCR and Language Data Support Files

Support for OCR Language data files

The OCR Language Data support files contain pretrained language data files from the OCR Engine page, tesseract-ocr, to use with the ocr function. You can download the additional language files using either the visionSupportPackages function or on the MATLAB® home tab, in the Environment section, click Add-Ons > Get Add-Ons.

GPU processing is supported on CUDA®-enabled NVIDIA® GPUs with compute capability between 2.0 and 6.1. Use the gpuDevice (Parallel Computing Toolbox) function to determine the compute capability of your GPU.

See Install OCR Language Data Files procedures and examples.


OCR TrainerTrain an optical character recognition model to recognize a specific set of characters


expand all

ocrRecognize text using optical character recognition
visionSupportPackagesStart installer to download, install, or uninstall Computer Vision Toolbox data
ocrTextObject for storing OCR results


Install OCR Language Data Files

Support files for optical character recognition (OCR) languages.

Train Optical Character Recognition for Custom Fonts

Train the ocr function to recognize a custom language or font by using the OCR app