diff --git a/Anyline Windows UWP Examples/Assets/jsonConfigs/id_config_universal_id.json b/Anyline Windows UWP Examples/Assets/jsonConfigs/id_config_universal_id.json index 6efaa52..d064ada 100644 --- a/Anyline Windows UWP Examples/Assets/jsonConfigs/id_config_universal_id.json +++ b/Anyline Windows UWP Examples/Assets/jsonConfigs/id_config_universal_id.json @@ -1,50 +1,81 @@ { - "camera" : { - "captureResolution" : "1080p", + "camera": { + "captureResolution": "1080p", "zoomGesture": true }, - "flash" : { + "flash": { "mode": "manual", "alignment": "bottom_right", "imageOn": "flash_on", "imageOff": "flash_off" }, - "viewPlugin" : { - "plugin":{ - "id":"ID", + "viewPlugin": { + "plugin": { + "id": "ID", "idPlugin": { "universalIdConfig": { "allowedLayouts": { "mrz": [], "drivingLicense": [], - "idFront": [] + "idFront": [], + "insuranceCard": [] }, "drivingLicense": { "surname": {"scanOption": 0, "minConfidence": 40}, + "lastName": {"scanOption": 0, "minConfidence": 40}, "givenNames": {"scanOption": 0, "minConfidence": 40}, + "firstName": {"scanOption": 0, "minConfidence": 40}, + "name": {"scanOption": 0, "minConfidence": 40}, + "fullName": {"scanOption": 0, "minConfidence": 40}, "dateOfBirth": {"scanOption": 0, "minConfidence": 50}, "placeOfBirth": {"scanOption": 1, "minConfidence": 50}, "dateOfIssue": {"scanOption": 0, "minConfidence": 50}, "dateOfExpiry": {"scanOption": 1, "minConfidence": 50}, "authority": {"scanOption": 1, "minConfidence": 30}, - "documentNumber": {"scanOption": 0, "minConfidence": 40}, + "licenseNumber": {"scanOption": 0, "minConfidence": 40}, + "licenceNumber": {"scanOption": 0, "minConfidence": 40}, "categories": {"scanOption": 1, "minConfidence": 30}, - "address": {"scanOption": 1} + "class": {"scanOption": 1, "minConfidence": 30}, + "licenseClass": {"scanOption": 1, "minConfidence": 30}, + "address": {"scanOption": 0}, + "sex": {"scanOption": 1,"minConfidence": 60}, + "personalNumber": {"scanOption": 1,"minConfidence": 60}, + "cardNumber": {"scanOption": 1,"minConfidence": 60} }, "idFront": { - "surname": {"scanOption": 0, "minConfidence": 60}, - "givenNames": {"scanOption": 0, "minConfidence": 60}, - "dateOfBirth": {"scanOption": 0, "minConfidence": 60}, - "placeOfBirth": {"scanOption": 1, "minConfidence": 60}, - "dateOfExpiry": {"scanOption": 1, "minConfidence": 60}, - "cardAccessNumber": {"scanOption": 1, "minConfidence": 60}, - "documentNumber": {"scanOption": 0, "minConfidence": 60}, - "nationality": {"scanOption": 1, "minConfidence": 60} + "surname": {"scanOption": 0,"minConfidence": 60}, + "lastName": {"scanOption": 0, "minConfidence": 60}, + "givenNames": {"scanOption": 0,"minConfidence": 60}, + "firstName": {"scanOption": 0, "minConfidence": 60}, + "name": {"scanOption": 0, "minConfidence": 40}, + "fullName": {"scanOption": 0, "minConfidence": 40}, + "dateOfBirth": {"scanOption": 0,"minConfidence": 60}, + "placeOfBirth": {"scanOption": 1,"minConfidence": 60}, + "dateOfIssue": {"scanOption": 0, "minConfidence": 60}, + "dateOfExpiry": {"scanOption": 1,"minConfidence": 60}, + "cardAccessNumber": {"scanOption": 1,"minConfidence": 60}, + "documentNumber": {"scanOption": 0,"minConfidence": 60}, + "licenseNumber": {"scanOption": 0, "minConfidence": 60}, + "licenceNumber": {"scanOption": 0, "minConfidence": 60}, + "nationality": {"scanOption": 1,"minConfidence": 60}, + "sex": {"scanOption": 1,"minConfidence": 60}, + "personalNumber": {"scanOption": 1,"minConfidence": 60}, + "cardNumber": {"scanOption": 1,"minConfidence": 60} + }, + "insuranceCard": { + "nationality": {"scanOption": 0, "minConfidence": 50}, + "surname": {"scanOption": 0, "minConfidence": 50}, + "givenNames": {"scanOption": 0, "minConfidence": 50}, + "dateOfBirth": {"scanOption": 0, "minConfidence": 50}, + "personalNumber": {"scanOption": 0, "minConfidence": 50}, + "authority": {"scanOption": 0, "minConfidence": 50}, + "documentNumber": {"scanOption": 0, "minConfidence": 50}, + "dateOfExpiry": {"scanOption": 0, "minConfidence": 50} } } } }, - "cutoutConfig" : { + "cutoutConfig": { "style": "animated_rect", "maxWidthPercent": "90%", "maxHeightPercent": "90%", @@ -54,7 +85,7 @@ "strokeColor": "FFFFFF", "outerColor": "000000", "outerAlpha": 0.3, - "ratioFromSize" : { + "ratioFromSize": { "width": 50, "height": 31 }, @@ -68,15 +99,15 @@ }, "feedbackStrokeColor": "0099FF" }, - "scanFeedback" : { + "scanFeedback": { "style": "CONTOUR_RECT", "visualFeedbackRedrawTimeout": 100, "strokeColor": "0099FF", - "fillColor" : "220099FF", + "fillColor": "220099FF", "beepOnResult": true, "vibrateOnResult": true, "strokeWidth": 2 }, - "cancelOnResult" : true + "cancelOnResult": true } } \ No newline at end of file