Contains the CogOCRMaxChars (images of individual characters) used to train
the classifier.
Namespace: Cognex.VisionPro.OCRMaxAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.0.0.0
Syntax
Property Value
Type: CogOCRMaxFontThe Font value. The default value is a default constructed CogOCRMaxFont instance.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if Font is set to null. |
Remarks
The OCRMax Classifier trains and runs on CogOCRMaxChar objects. The train time CogOCRMaxChars are stored within the Classifier.Font collection.
Fonts are usually created by using the segmenter to extract CogOCRMaxChars from an image and then manually 'filling in' the proper Key.CharacterCode for each character before adding them to the fonts characters collection.
See Also