-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parses identification from universal id scanning + adds template config
- Loading branch information
1 parent
bd085a6
commit c4093a6
Showing
4 changed files
with
139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 128 additions & 0 deletions
128
Anyline Windows UWP Examples/Assets/jsonConfigs/id_config_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"camera": { | ||
"captureResolution": "1080p", | ||
"zoomGesture": true | ||
}, | ||
"flash": { | ||
"mode": "manual", | ||
"alignment": "bottom_right", | ||
"imageOn": "flash_on", | ||
"imageOff": "flash_off" | ||
}, | ||
"viewPlugin": { | ||
"plugin": { | ||
"id": "ID", | ||
"idPlugin": { | ||
"templateConfig": { | ||
"drivingLicense": { | ||
"surname": { | ||
"scanOption": 0, | ||
"minConfidence": 40 | ||
}, | ||
"givenNames": { | ||
"scanOption": 0, | ||
"minConfidence": 40 | ||
}, | ||
"dateOfBirth": { | ||
"scanOption": 0, | ||
"minConfidence": 50 | ||
}, | ||
"placeOfBirth": { | ||
"scanOption": 0, | ||
"minConfidence": 50 | ||
}, | ||
"dateOfIssue": { | ||
"scanOption": 0, | ||
"minConfidence": 50 | ||
}, | ||
"dateOfExpiry": { | ||
"scanOption": 1, | ||
"minConfidence": 50 | ||
}, | ||
"authority": { | ||
"scanOption": 1, | ||
"minConfidence": 30 | ||
}, | ||
"documentNumber": { | ||
"scanOption": 0, | ||
"minConfidence": 40 | ||
}, | ||
"categories": { | ||
"scanOption": 1, | ||
"minConfidence": 30 | ||
}, | ||
"address": { "scanOption": 1 } | ||
}, | ||
"idFront": { | ||
"surname": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"givenNames": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"dateOfBirth": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"placeOfBirth": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"dateOfExpiry": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"cardAccessNumber": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"documentNumber": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
}, | ||
"nationality": { | ||
"scanOption": 0, | ||
"minConfidence": 60 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"cutoutConfig": { | ||
"style": "rect", | ||
"maxWidthPercent": "90%", | ||
"maxHeightPercent": "90%", | ||
"alignment": "center", | ||
"strokeWidth": 2, | ||
"cornerRadius": 4, | ||
"strokeColor": "FFFFFF", | ||
"outerColor": "000000", | ||
"outerAlpha": 0.3, | ||
"ratioFromSize": { | ||
"width": 50, | ||
"height": 31 | ||
}, | ||
"cropPadding": { | ||
"x": -30, | ||
"y": -90 | ||
}, | ||
"cropOffset": { | ||
"x": 0, | ||
"y": 90 | ||
}, | ||
"feedbackStrokeColor": "0099FF" | ||
}, | ||
"scanFeedback": { | ||
"style": "contour_rect", | ||
"visualFeedbackRedrawTimeout": 100, | ||
"strokeColor": "0099FF", | ||
"fillColor": "220099FF", | ||
"beepOnResult": true, | ||
"vibrateOnResult": true, | ||
"strokeWidth": 2 | ||
}, | ||
"cancelOnResult": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters