Class OcrDetail

OcrDetail class

Represents the OCR result for a single page of a document or a single image file.

public class OcrDetail : IComparable<OcrDetail>

Constructors

NameDescription
OcrDetail()The default constructor.

Properties

NameDescription
ErrorMessage { get; set; }An error message describing why OCR failed for this page, if Success is false. Null otherwise.
ExtractedText { get; set; }The extracted text content from the page. Null if Success is false or no text was found.
PageNumber { get; set; }The 1-based page number within the source document. For single-page images, this will always be 1.
Success { get; set; }Indicates whether the OCR extraction for this specific page was successful.
Usage { get; set; }Gets or sets the usage statistics.

Methods

NameDescription
CompareTo(OcrDetail)Compares the current OcrDetail instance with another OcrDetail object based on their PageNumber property.

See Also