This class provides functionality for OCR training and execution.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision.ViDiEL OCROperator
Namespace: Cognex.Vision.ViDiEL
Assembly: Cognex.Vision.ViDiELOCR.Net (in Cognex.Vision.ViDiELOCR.Net.dll) Version: 9.25.1.0
The OCROperator type exposes the following members.
| Name | Description | |
|---|---|---|
| OCROperator | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| ClearCache | Clears the training cache, this should be used only when the TrainingDatabase entirely changes. | |
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| Execute(IImage) | Executes the OCR process with the trained model. | |
| Execute(IImage, IRegion) | Executes the OCR process with the trained model. | |
| ExecutePretrained | Executes the OCR process with a pre-trained model. | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SortCharacters | Sorts the character positions into lines. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. | |
| Train | Trains the OCR operator using the TrainingDatabase. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two OCROperator objects. | |
| Inequality | Compares the inequality of two OCROperator objects. |
| Name | Description | |
|---|---|---|
| SfAdvancedFielding | ||
| SfBasicFielding | ||
| SfCharacterHeight | ||
| SfCharacterWidth | ||
| SfFieldingMode | ||
| SfModelHealth | ||
| SfRegion | ||
| SfRegionMode | ||
| SfTrained | ||
| SfTrainingResults |
| Name | Description | |
|---|---|---|
| AdvancedFielding | Get Gets the Advanced Fielding. | |
| BasicFielding | Get Gets the Basic Fielding. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| CharacterHeight | Get Gets the Height for the characters to search for Default Value: 0. | |
| CharacterWidth | Get Gets the width of the characters to search for Default Value: 0. | |
| FieldingMode | Get Gets the fielding mode. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| ModelHealth | Gets the health of the underlying model. | |
| Region | Get Gets the inspection region of the input image. | |
| RegionMode | Get Gets the technique used to apply the region to the inspection image. Default Value: AffineTransform. | |
| Trained | Get if the model is trained or not. | |
| TrainingDatabase | Gets the database which contains the training data. | |
| TrainingResults | The results of the last training. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |