CogOCRMaxSegmenterPositionResult PropertiesCognex VisionPro

The CogOCRMaxSegmenterPositionResult type exposes the following members.

Properties

  NameDescription
Public propertyCellRect
The cell rectangle of the segmented character. The cell rectangle is specified in the selected space coordinates of the image used for segmentation. The cell rectangle is a bounding box that encloses not only all of the foreground (e.g. ink) pixels of a character image, but also typically additional padding region. Cell rectangles are typically height of the full line of text containing the character. Ideally, all of the cell rectangles in a line of text touch their adjacent neighbors.
Public propertyCharacter
The segmented character from the result. The result Key.CharacterCode will be set to either Unknown (0XF800) or Space (0x20).
Public propertyIsSpace
True if the segmented character is a space.
Public propertyMarkRect
The mark rectangle of the segmented character. The mark rectangle is specified in the selected space coordinates of input image used for segmentation. The mark rectangle of a character is a tight bounding box enclosing all of foreground (e.g. ink) pixels in the character image.
Public propertySpaceScore
The score of the segmented character, if the segmented character is a space. The score is in the range [0, 1]. See also CogSpaceScoreModeConstants.
Top
See Also