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
The OCR Trainer app is not supported on macOS machines with Apple silicon chips.
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 opens the OCR Trainer app.
ocrTrainer(sessionFile) opens the app and loads a saved OCR
sessionFile is the path to the MAT file
containing the saved session.
Version HistoryIntroduced in R2016a
R2022b: OCR Trainer App Remove in Future Release
The OCR Trainer app will be removed in a future release. Use the Image Labeler instead.