mindee
Version:
Mindee Client Library for Node.js
29 lines (28 loc) • 906 B
TypeScript
import { StringDict } from "../../parsing/common";
import { Polygon } from "../../geometry";
/**
* List of page groups. Each group represents a single invoice within a multi-invoice document.
*/
export declare class InvoiceSplitterV1InvoicePageGroup {
#private;
/** List of page indexes that belong to the same invoice (group). */
pageIndexes: Array<number> | null;
/** Confidence score */
confidence: number;
/** The document page on which the information was found. */
pageId: number;
/**
* Contains the relative vertices coordinates (points) of a polygon containing
* the field in the document.
*/
polygon: Polygon;
constructor({ prediction }: StringDict);
/**
* Default string representation.
*/
toString(): string;
/**
* Output in a format suitable for inclusion in an rST table.
*/
toTableLine(): string;
}