# Classification

Classification is the process of matching each segmented character image to the best matching character of a trained font. With good segmentation parameters and a trained font, an OCRMax tool can classify all the characters in any given string, as shown:

If the OCRMax tool cannot classify a character from the trained font, it produces a failed result which can be represented graphically, as shown:

A new OCRMax tool has no trained font. You can either load an existing font file or create a new one, adding an instance of each character that you eventually need your finished vision application to recognize.

Creating a new font is an iterative process as you create your application, as you need to acquire sample images that show all the characters the OCRMax tool must be able to recognize.

In this example, you must add the character "3" to the trained font before you deploy your application to a production environment. See the topic Choosing Segmentation Parameters for an example use of an OCRMax tool to classify all the characters in a set of sample images.