API Reference
Class
OcrTextSpan
Detailed recognized line, word, or character with optional confidence and geometry.
Inheritance
- Object
- OcrTextSpan
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OcrResult.Spans
Constructors
public OcrTextSpan() #Inherited Methods
public virtual 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 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 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 OcrRegion? Region { get; set; } #Bounding region in OcrTextSpan.CoordinateUnit, when available.
public OcrCoordinateUnit CoordinateUnit { get; set; } #Coordinate unit used by OcrTextSpan.Region.