Skip to content

Commit

Permalink
Updates Universal ID config
Browse files Browse the repository at this point in the history
ricardocolombo committed Nov 18, 2021
1 parent 621f193 commit 9b2b2f9
Showing 1 changed file with 53 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 9b2b2f9

Please sign in to comment.