scanbotsdk
    Preparing search index...

    Class MedicalCertificateScanningResult

    The result of the medical certificate 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 getMedicalCertificateScanningResultFromAnApi();
    

    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

    Found checkboxes.

    clockwiseRotations: number = 0

    The number of 90-degree clockwise rotations that were applied to the original image. The same number of counter-clockwise rotations are necessary to make the image upright again.

    Default is 0.

    croppedImage: ImageRef | null = null

    The cropped image used for recognition.

    Found dates.

    documentDetectionResult: DocumentDetectionResult | null

    Result of the document detection in the input image. Is available only if the shouldCropDocument parameter is set to true.

    formType: MedicalCertificateFormType = "UNKNOWN"

    Form type.

    Default is UNKNOWN.

    Patient info box.

    scaleX: number = 1.0

    The scale factor used to scale the image to the recognition size.

    Default is 1.0.

    scaleY: number = 1.0

    The scale factor used to scale the image to the recognition size.

    Default is 1.0.

    scanningSuccessful: boolean = false

    True if scanning was successful.

    Default is false.

    Methods

    • Returns Promise<void>

    • Returns Promise<void>