Medical Certificate Scanning Result
data class MedicalCertificateScanningResult(val scanningSuccessful: Boolean = false, val patientInfoBox: MedicalCertificatePatientInfoBox, val checkBoxes: List<MedicalCertificateCheckBox>, val dates: List<MedicalCertificateDateRecord>, val formType: MedicalCertificateFormType = MedicalCertificateFormType.UNKNOWN, val clockwiseRotations: Int = 0, val croppedImage: ImageRef? = null, val scaleX: Double = 1.0, val scaleY: Double = 1.0, val documentDetectionResult: DocumentDetectionResult?) : AutoCloseable, Parcelable
The result of the medical certificate scanning.
Constructors
Link copied to clipboard
constructor(scanningSuccessful: Boolean = false, patientInfoBox: MedicalCertificatePatientInfoBox, checkBoxes: List<MedicalCertificateCheckBox>, dates: List<MedicalCertificateDateRecord>, formType: MedicalCertificateFormType = MedicalCertificateFormType.UNKNOWN, clockwiseRotations: Int = 0, croppedImage: ImageRef? = null, scaleX: Double = 1.0, scaleY: Double = 1.0, documentDetectionResult: DocumentDetectionResult?)
Properties
Link copied to clipboard
Found checkboxes.
Link copied to clipboard
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.
Link copied to clipboard
The cropped image used for recognition.
Link copied to clipboard
Found dates.
Link copied to clipboard
Result of the document detection in the input image. Is available only if the shouldCropDocument parameter is set to true.
Link copied to clipboard
Form type.
Link copied to clipboard
Patient info box.
Link copied to clipboard
True if scanning was successful.