mindee
    Preparing search index...

    Class ExtractedMultiReceiptImage

    Wrapper class for extracted multiple-receipts images.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    buffer: Buffer

    Raw file bytes for the extracted image artifact.

    elementId: number

    Identifier of the extracted element on the page.

    filename: string

    Filename used when exporting the extracted image.

    pageId: number

    Source page identifier.

    receiptId: number

    Receipt index within the source page.

    Methods

    • Attempts to saves the document to a file synchronously. Throws an error if the file extension is not supported or if the file could not be saved to disk for some reason.

      Parameters

      • outputPath: string

        Path to save the file to.

      Returns void