Compiles this font which involves computing the confusion scores for all possible model pairings in the font.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 69.0.0.0
Syntax
Events
| Event Type | Reason |
|---|---|
| CogOCFont Changed | Fires when the font was compiled successfully. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| CogOCFontNoModelsException | FontModels is NULL or empty. |
| CogOCFontDuplicateNameInstanceException | Two or more models have the same Name and Instance combination. |
| CogImageNoPixelsException | At least one of the normal (nonblank) models has an Image that is not allocated. |
| CogOCFontNoModelImageException | At least one of the normal (nonblank) models has a NULL Image. |
| CogTimeoutExpiredException | The compilation Timeout period expired. (Applies only if TimeoutEnabled is True.) |
| CogOCFontModelImageTooSmallException | At least one of the nonblank models has a height or a width less than 3 pixels. |
Remarks
Compiles this font. Font compilation includes computing the confusion scores for all possible model pairings in the font.
See Also