UNPKG

mindee

Version:

Mindee Client Library for Node.js

12 lines (11 loc) 585 B
import { MultiReceiptsDetectorV1 } from "../../product"; import { ExtractedMultiReceiptImage } from "./extractedMultiReceiptImage"; import { LocalInputSource } from "../../input"; /** * Extracts individual receipts from multi-receipts documents. * * @param inputFile File to extract sub-receipts from. * @param inference Results of the inference. * @returns Individual extracted receipts as an array of ExtractedMultiReceiptImage. */ export declare function extractReceipts(inputFile: LocalInputSource, inference: MultiReceiptsDetectorV1): Promise<ExtractedMultiReceiptImage[]>;