Represents the results of an optical character recognition (OCR) operation

interface OCRPage {
    lines: OCRResultBlock[];
    paragraphs: OCRResultBlock[];
    text: string;
    words: OCRResultBlock[];
}

Properties

The line blocks of the page

paragraphs: OCRResultBlock[]

The paragraph blocks of the page

text: string

The recognized text of the page

The word blocks of the page