Interface ITextLine
Represents a single line of text composed of one or more recognized words.
Namespace: Zaya.Primitives.OCR
Assembly: Zaya.Primitives.dll
Syntax
public interface ITextLine
Properties
| Edit this page View SourceBounds
Gets the oriented bounding box that encompasses all words in this line.
Declaration
BoundingBox Bounds { get; }
Property Value
| Type | Description |
|---|---|
| BoundingBox |
Id
Stable identity for this line across frames. When the line matches a previous-frame line, equals that line's Id; otherwise a newly generated unique value.
Declaration
Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Text
Gets the concatenated text of all words in this line.
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Words
Gets the original recognized words that belong to this line.
Declaration
IReadOnlyList<IOCRWord> Words { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IOCRWord> |