Class OCRLine<T>
Represents a line of recognized text.
public class OCRLine<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
OCRLine<T>
- Inherited Members
Properties
AverageConfidence
Gets the average confidence for words in this line.
public T AverageConfidence { get; init; }
Property Value
- T
BlockIndex
Gets the block index this line belongs to.
public int BlockIndex { get; init; }
Property Value
BoundingBox
Gets the bounding box as [x1, y1, x2, y2].
public Vector<T> BoundingBox { get; init; }
Property Value
- Vector<T>
Text
Gets the full text of the line.
public string Text { get; init; }
Property Value
Words
Gets the words in this line.
public IReadOnlyList<OCRWord<T>> Words { get; init; }
Property Value
- IReadOnlyList<OCRWord<T>>