The CogOCRMaxSegmenterElementInfo type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Accepted |
Returns true if the element was accepted
| |
| Action |
Returns the reason a character or fragment was rejected (or None if the
element was accepted)
| |
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.) | |
| Contrast |
Returns the contrast the character or fragment
| |
| DistanceToMainLine |
Returns the distance (in the y direction) of a character or fragment
from the mainline as a percentage of the estimated line height.
Use this diagnostic to help set the segmenter's [!:Cognex::VisionPro::OCRMax::CharacterFragmentMaxDistanceToMainLine] parameter. | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| HeightInPixels |
Returns the height of the character or fragment in pixel units.
| |
| NumPixels |
Returns the number of pixels in the character or fragment
| |
| OverlapFrac |
Returns the amount a character or fragment overlaps the mainline
(in the y direction) as a fraction of the overall height of the
character or fragment.
Use this diagnostic to help set the segmenter's [!:Cognex::VisionPro::OCRMax::CharacterFragmentMainLineMinYOverlapFrac] parameter. | |
| Region |
A rectangle which encloses the character or fragment
| |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) | |
| WidthInPixels |
Returns the width of the character or fragment in pixel units.
|
See Also