Skip to content

Commit

Permalink
added Vin Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslaux committed Mar 8, 2018
1 parent 888683b commit 3ad3193
Show file tree
Hide file tree
Showing 19 changed files with 129 additions and 32 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,22 +168,22 @@ If you are using the ANYLINE_OCR module, you'll have to add some traineddata. Th
you can find in the example app. Also the OCR Config has to reflect the path. Check the VoucherConfig.js in the
example/RNExampleApp/config folder.

IMPORTANT: The trainedFiles have to be directly in the Asset folder in Android.

#### iOS
```
ios
└─── trainedData
└─── myTrainedData.traineddata
└─── myTrainedData.traineddata
```

#### Android
```
android
└─── app
└─── src
└─── main
└─── assets
└─── traindData
└─── myTrainedData.traineddata
└─── app
└─── src
└─── main
└─── assets
└─── myTrainedData.traineddata || myTrainedData.any
```


Expand Down
1 change: 1 addition & 0 deletions example/RNExampleApp/android/app/src/main/assets/vin.ale
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HiwqPAQfFiJYP1lmax8zLGYRcng3BA4LW2c/dn08f2ZkeAUIQjwxQh8mJVJoQhl5MVoXOjgxBwRVOCZfGSdBURIIQnl2YjAZKiphbUVkcE1ULS4sBA5CMD1YVHMweggDRiwmFEwyaTYOCVMXM1sTa3F6CANGLCZpEiw/PQIZXzY8GR8nOy0VMlg2NlNMeWl0QwRbODVTPiwiPwkZFGNkBlprIjVhClMOO1ICIWliVV8GJH4UGTw/KBQZFGMpFBgmLz0vDFs8cAxUJj4sERhCBjZTAiwoLAgCWHY9QwI5Piw+A1k9NwxGa2d6FRRGPHAMVCAmOQYIFHVwXxsoLD0pCF8+OkJUc31oTU9fNDNREx4iPBUFFGNmBEY0NnRDDlo4IUUfLyI7YRlfNjwUTDJpMQ8dQy1wDA1rJTcFCHg4P1NUc2kxDx1DLX1fGDk+LD4DWT03DEZrZ3oIbVc+N34TICwwFU8MbWIaVCAmOQYIYTA2Qh5rcWxREBp7PUMCOT4s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40FUEWNiRTBD45MRUIDGh7DXxDbyoEHkM1JhZLaR05DQRSOCZTJCw4LQ0ZHis3RQMlP2JFH1MqJ1oCZWsxBQhYLTtQHyw5YkMZUyEmFFppOT0GCE5jdkAXJSI8MhlEPDNbGiAlPQU/Uz43Tl9yQVIICxZxdl8FHS4rFU0LZHIGX2kwUmhJRDwhQxo9CDcUA0J5bxY3LS8KBB5DNSZiGRo/OQIGFnEgUwU8JywyGVc6OQxSOy4rFAFCCiZXFSJneBMIRSw+QkxtOT0SGFotew18QG8qBB5DNSYWS2kMPRU/UyonWgIPOTcMPkI4MV1WYTk9EhhaLQFCFyogYkUfUyonWgIaPzkCBh9iWEt8Q2R3QRhFPDYWECY5eCAXQys3FgQsOzcTGV83NTwELDs3ExkWfSBTBTwnLFpnRDwmQwQna3wTCEUsPkJN
2 changes: 1 addition & 1 deletion example/RNExampleApp/config/DrivingLicenseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ export default {
"scanMode": "AUTO",
"aleFile": "anyline_austrian_driving_license.ale",
"tesseractLanguages": ["eng_no_dict", "deu"],
"traineddataFiles": ["tessdata/eng_no_dict.traineddata", "tessdata/deu.traineddata"],
"traineddataFiles": ["eng_no_dict.traineddata", "deu.traineddata"],
}
}
2 changes: 1 addition & 1 deletion example/RNExampleApp/config/IbanConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
ocr: {
"scanMode": "AUTO",
"tesseractLanguages": ["eng_no_dict", "deu"],
"traineddataFiles": ["tessdata/eng_no_dict.traineddata", "tessdata/deu.traineddata"],
"traineddataFiles": ["eng_no_dict.traineddata", "deu.traineddata"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
"validationRegex": "^[A-Z]{2}([0-9A-Z]\\s*){13,32}$",
"minConfidence": 65,
Expand Down
56 changes: 56 additions & 0 deletions example/RNExampleApp/config/VINConfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 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": "1080p",
"cutout": {
"style": "rect",
"width": 500,
"alignment": "top",
"ratioFromSize": {
"width": 62,
"height": 9
},
"offset": {
"x": 0,
"y": 395
},
"outerColor": "000000",
"outerAlpha": 0.3,
"cornerRadius": 3
},
"flash": {
"mode": "manual",
"alignment": "bottom_left",
"imageOn": "ic_flash_on",
"imageOff": "ic_flash_off"
},
"visualFeedback": {
"animation": "traverse_multi",
"animationDuration": 250,
"style": "contour_rect",
"strokeWidth": 2,
"strokeColor": "0099FF"
}

},
ocr: {
"scanMode": "AUTO",
"aleFile": "vin.ale",
"traineddataFiles": ["CNN_vin_det_class_prot2_36_whitelist.any"],
"minConfidence": 0
},
}
2 changes: 1 addition & 1 deletion example/RNExampleApp/config/VoucherConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {
ocr: {
"scanMode": "AUTO",
"tesseractLanguages": ["anyline_capitals"],
"traineddataFiles": ["tessdata/anyline_capitals.traineddata"],
"traineddataFiles": ["anyline_capitals.traineddata"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
"validationRegex": "[A-Z0-9]{8}$",
"minConfidence": 85
Expand Down
Loading

0 comments on commit 3ad3193

Please sign in to comment.