API Reference
Class
OcrTextSpan
Detailed recognized line, word, or character with optional confidence and geometry.
Inheritance
- Object
- OcrTextSpan
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OcrResult.Spans
Constructors
public OcrTextSpan() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 Sequence { get; set; } #Zero-based sequence within the provider's emitted reading order.
public Nullable<Double> Confidence { get; set; } #Normalized confidence from zero through one, when available.
public String Language { get; set; } #Detected or requested language identifier, when available.
public Nullable<Int32> PageNumber { get; set; } #One-based source page within a multi-page payload, when applicable.
public String BlockId { get; set; } #Provider-stable block identifier, when exposed.
public String ParagraphId { get; set; } #Provider-stable paragraph identifier, when exposed.
public String LineId { get; set; } #Provider-stable line identifier, when exposed.
public OcrRegion Region { get; set; } #Bounding region in CoordinateUnit, when available.
public OcrCoordinateUnit CoordinateUnit { get; set; } #Coordinate unit used by Region.