scanbotsdk
    Preparing search index...

    Class CheckScanningResult

    The result of check scanning.

    Since the instance of the class contains objects backed by native resources (e.g. images) and implements AsyncDisposable it's highly recommended to use the await using syntax when an instance is created or is received from an API:

    await using instance = await getCheckScanningResultFromAnApi();
    

    Alternatively, one can explicitly call release method to release the native resources or use autorelease convenience function. If neither is used, the resource will be released when the instance is garbage collected which is not recommended.

    Implements

    • AsyncDisposable
    Index

    Constructors

    Properties

    check: GenericDocument | null

    Generic document containing check data. Not present, if status is FAIL.

    croppedImage: ImageRef | null = null

    Crop of the check if documentDetectionMode is set to DETECT_AND_CROP_DOCUMENT. Will be non-empty, only if check recognition succeeded.

    documentDetectionResult: DocumentDetectionResult | null

    The result of document detection. Will be set only if detectDocument in the configuration is set to true. Check scanning may still succeed even if the whole document is not visible in the input image and the complete document could not be located.

    status: CheckMagneticInkStripScanningStatus = "ERROR_NOTHING_FOUND"

    Magnetic ink strip scanning status.

    Default is ERROR_NOTHING_FOUND.

    Methods

    • Returns Promise<void>

    • Returns Promise<void>