This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

OCR Trainer

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


The OCR Trainer app allows you to label character data for OCR training interactively and to generate an OCR language data file for use with the ocr function.

Open the OCR Trainer App

  • MATLAB® Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the app icon.

  • MATLAB command prompt: Enter ocrTrainer.

Programmatic Use

expand all

ocrTrainer opens the OCR Trainer app.

ocrTrainer(sessionFile) opens the app and loads a saved OCR training session. sessionFile is the path to the MAT file containing the saved session.

Introduced in R2016a