BlinkID / blinkid-android

Everything you need to add AI-driven ID scanning into your native Android app.
https://microblink.com/identity/identity-document-scanning/
445 stars 153 forks source link

Getting nulls when trying to scan Document with BlinkID-aMinimalSample #244

Closed radimmotycka closed 1 year ago

radimmotycka commented 3 years ago

Pls guys would you advise? I am scanning my Passport with BlinkID-aMinimalSample getting to onScanSuccess but all images are null :( Would you pls advise?

Pls see attachement.

Screen Shot 2021-03-25 at 5 54 15 PM
anjapenic commented 3 years ago

Hello @radimmotycka,

After initializing the recognizer, have you set the setReturnFullDocumentImage and setReturnFaceImage to true? If not, here's how to do it:

recognizer = new BlinkIdCombinedRecognizer();
recognizer.setReturnFullDocumentImage(true);
recognizer.setReturnFaceImage(true);

Please try it out and let us know if it helped!

Regards, Anja

anjapenic commented 3 years ago

Hello @radimmotycka,

Just wanted to make a quick follow-up here.

Have you tried the solution we've provided? Did you find it solved the issue you were experiencing?

Best regards, Anja