Gets or sets the optional region which determines where the tool should
look for text.
Namespace: Cognex.VisionPro.OCRMaxAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 69.0.0.0
Syntax
Property Value
Type: CogRectangleAffineThe Region value. The default value is a default constructed CogRectangleAffine instance.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Remarks
The region should contain one line of characters and surrounding featureless, but possibly nonuniform and/or noisy, background; there should be no strong features in the region other than the one line of characters.
The x-axis should be approximately parallel to the baseline of the contained line of characters, with its positive direction pointing along the reading direction. The skew should be the approximate value of the skew of the line of characters.
If the region is null the whole image will serve as the region.
See Also