mindee
    Preparing search index...

    Class CropItem

    Index

    Constructors

    Properties

    extractionResponse?: product.ExtractionResponse

    The extraction response associated with the crop.

    location: FieldLocation

    Location that includes cropping coordinates for the detected object, within the source document.

    objectType: string

    Type or classification of the detected object.

    Methods

    • Extracts a single crop from an input.

      Parameters

      • inputSource: LocalInputSource

        The input file to extract from.

      • quality: number = 1

        Optional quality parameter for image extraction, default is undefined (full quality).

      Returns Promise<ExtractedImage>