UNPKG

mindee

Version:

Mindee Client Library for Node.js

20 lines (19 loc) 521 B
import { Word } from "../standard"; import { StringDict } from "./stringDict"; export declare class OcrPage { #private; /** Flat list of all words read */ allWords: Word[]; /** List of words by which line they are on */ allLines: Word[][]; constructor(rawPrediction: StringDict); /** * Get all words on the page as ordered lines * @returns Sorted lines on the pages */ getAllLines(): Word[][]; /** * Default string representation. */ toString(): string; }