BlinkID / blinkid-react-native

ID scanning for cross-platform apps built with ReactNative.
175 stars 59 forks source link

For certain ID cards (german) result is empty #191

Open msegers opened 2 years ago

msegers commented 2 years ago

Hi, we encountered an issue with a specific ID card, it seems to be a pretty standard german ID card, but whenever we try scanning it all the possible values are default/empty. The resultState however is still 3, and I have no idea how to further debug this issue (I am also pretty sure I cannot share the ID Card as it is from a customer). Sometimes it already stops the scanning session before scanning the back of the ID card, but nevertheless the result seems to be the same.

Any ideas what could be happening? Our license includes Passports (any) and german Identification/Residenspermits.

I logged all the values from the result which were not empty strings (except images, that's getting a bit much).

 INFO .resultState 3
 INFO  .age -1
 INFO  .backImageAnalysisResult.documentImageColorStatus 1
 INFO  .backImageAnalysisResult.barcodeDetectionStatus 1
 INFO  .backImageAnalysisResult.faceDetectionStatus 1
 INFO  .backImageAnalysisResult.mrzDetectionStatus 1
 INFO  .backImageAnalysisResult.blurred false
 INFO  .backProcessingStatus 1
 INFO  .backVizResult.dateOfExpiry.day 0
 INFO  .backVizResult.dateOfExpiry.month 0
 INFO  .backVizResult.dateOfExpiry.year 0
 INFO  .backVizResult.empty true
 INFO  .backVizResult.dateOfBirth.day 0
 INFO  .backVizResult.dateOfBirth.month 0
 INFO  .backVizResult.dateOfBirth.year 0
 INFO  .backVizResult.dateOfIssue.day 0
 INFO  .backVizResult.dateOfIssue.month 0
 INFO  .backVizResult.dateOfIssue.year 0
 INFO  .barcodeResult.dateOfBirth.day 0
 INFO  .barcodeResult.dateOfBirth.month 0
 INFO  .barcodeResult.dateOfBirth.year 0
 INFO  .barcodeResult.empty true
 INFO  .barcodeResult.barcodeType 1
 INFO  .barcodeResult.dateOfExpiry.day 0
 INFO  .barcodeResult.dateOfExpiry.month 0
 INFO  .barcodeResult.dateOfExpiry.year 0
 INFO  .barcodeResult.uncertain false
 INFO  .barcodeResult.dateOfIssue.day 0
 INFO  .barcodeResult.dateOfIssue.month 0
 INFO  .barcodeResult.dateOfIssue.year 0
 INFO  .barcodeResult.extendedElements.empty false
 INFO  .classInfo.type 1
 INFO  .classInfo.country 1
 INFO  .classInfo.empty true
 INFO  .classInfo.region 1
 INFO  .dateOfBirth.day 0
 INFO  .dateOfBirth.month 0
 INFO  .dateOfBirth.year 0
 INFO  .dateOfExpiry.day 0
 INFO  .dateOfExpiry.month 0
 INFO  .dateOfExpiry.year 0
 INFO  .dateOfExpiryPermanent false
 INFO  .dateOfIssue.day 0
 INFO  .dateOfIssue.month 0
 INFO  .dateOfIssue.year 0
 INFO  .digitalSignatureVersion 0
 INFO  .documentDataMatch 1
 INFO  .expired false
 INFO  .frontImageAnalysisResult.documentImageColorStatus 1
 INFO  .frontImageAnalysisResult.barcodeDetectionStatus 1
 INFO  .frontImageAnalysisResult.faceDetectionStatus 1
 INFO  .frontImageAnalysisResult.mrzDetectionStatus 1
 INFO  .frontImageAnalysisResult.blurred false
 INFO  .frontProcessingStatus 1
 INFO  .frontVizResult.dateOfExpiry.day 0
 INFO  .frontVizResult.dateOfExpiry.month 0
 INFO  .frontVizResult.dateOfExpiry.year 0
 INFO  .frontVizResult.empty true
 INFO  .frontVizResult.dateOfBirth.day 0
 INFO  .frontVizResult.dateOfBirth.month 0
 INFO  .frontVizResult.dateOfBirth.year 0
 INFO  .frontVizResult.dateOfIssue.day 0
 INFO  .frontVizResult.dateOfIssue.month 0
 INFO  .frontVizResult.dateOfIssue.year 0
 INFO  .mrzResult.documentType 1
 INFO  .mrzResult.dateOfBirth.day 0
 INFO  .mrzResult.dateOfBirth.month 0
 INFO  .mrzResult.dateOfBirth.year 0
 INFO  .mrzResult.dateOfExpiry.day 0
 INFO  .mrzResult.dateOfExpiry.month 0
 INFO  .mrzResult.dateOfExpiry.year 0
 INFO  .mrzResult.mrzParsed false
 INFO  .mrzResult.mrzVerified false
 INFO  .mrzResult.age -1
 INFO  .processingStatus 1
 INFO  .recognitionMode 5
 INFO  .scanningFirstSideDone true

Edit we did some more testing, It seems that our Staging license is able to read from the document, that implies that this document falls outside of our license, but we are able to scan many other german ID cards just fine, that is also what we signed for.

That sounds like a bug to me, I'll also contact customer support, I hope we don't have to push to the app store with a new license 😬