CogOCRMaxSegmenterElementInfo PropertiesCognex VisionPro 9.23

The CogOCRMaxSegmenterElementInfo type exposes the following members.

Properties

  NameDescription
Public propertyAccepted
Returns true if the element was accepted
Public propertyAction
Returns the reason a character or fragment was rejected (or None if the element was accepted)
Public propertyChangedEventSuspended
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.)
Public propertyContrast
Returns the contrast the character or fragment
Public propertyDistanceToMainLine
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.

Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyHeightInPixels
Returns the height of the character or fragment in pixel units.
Public propertyNumPixels
Returns the number of pixels in the character or fragment
Public propertyOverlapFrac
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.

Public propertyRegion
A rectangle which encloses the character or fragment
Public propertyStateFlags
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.)
Public propertyWidthInPixels
Returns the width of the character or fragment in pixel units.
Top
See Also