MedicalCertificateScanningParameters

data class MedicalCertificateScanningParameters(var shouldCropDocument: Boolean = true, var recognizePatientInfoBox: Boolean = true, var recognizeBarcode: Boolean = true, var extractCroppedImage: Boolean = false, var preprocessInput: Boolean = false) : Parcelable

Parameters for the medical certificate scanning. The scanner supports Form 1 (Arbeitsunfähigkeitsbescheinigung) and Form 21a (Ärztliche Bescheinigung für den Bezug von Krankengeld bei Erkrankung eines Kindes) from the KBV (Kassenärztliche Bundesvereinigung) list of forms.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(shouldCropDocument: Boolean = true, recognizePatientInfoBox: Boolean = true, recognizeBarcode: Boolean = true, extractCroppedImage: Boolean = false, preprocessInput: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If true, cropped document image will be extracted and returned.

Link copied to clipboard

If true, the image is sharpened before processing.

Link copied to clipboard

Some forms are printed with an extra barcode that encodes the same information as the document. Reading the barcode is more reliable than OCR and is recommended when possible. If false, the barcode will not be scanned.

Link copied to clipboard

All data in the patient info box will be extracted. If false, the patient info box is ignored.

Link copied to clipboard

Document will be detected and cropped before recognition. If false, a cropped image of a document is assumed.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject