BlinkID / blinkid-android

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

Can't scan backside of ID card with BlinkIdSingleSideRecognizer() in custom option. #286

Open mirzaalipro opened 1 year ago

mirzaalipro commented 1 year ago

Before opening an issue, check that you are using the latest version of the BlinkID SDK.

Also, make sure your issue isn't on the list of common problems.


Description

BlinkIdSingleSideRecognizer() in custom option only scans front side kindly let e know how to scan back side with it.

Please try to provide steps to reproduce the issue, or minimal code sample. It will help us resolve the issue faster.

Environment Details

BlinkID version:6.0.0

Device model:samsung sm-135f

Device Android version:12

Device ABI (processor architecture, e.g. ARMv7):

Log file

Please enable logging by following instructions here and attach full log file.

Additional information

If there is anything else that you think can help us resolve the issue, write it here.

Brankacro commented 1 year ago

Hello @mirzaali-safarione. Do you need to scan only one side of the ID or do you require scanning of both sides? Also, it would be helpful if you could let us know which ID (from what country) are you trying to scan. Best.

mirzaalipro commented 1 year ago

Thankyou for your response , I have to scan both sides of ID card but no at once. In Some scenario i have to scan first side which is working pretty good but in other scenario i have to scan Back Side of ID card but BlinkIdSingleSideRecognizer() this is working for only front side not working for back side. I'm trying to scan Pakistani National Id card for sample ID card i'm attaching a id card also i have to scan other countries id card too like Turkish id card etc. https://ibb.co/C7Ysz6p https://ibb.co/2qq7VQs

Brankacro commented 1 year ago

Thank you @mirzaali-safarione for waiting for our reply.

On this link https://github.com/BlinkID/blinkid-android/blob/master/documentation/BlinkIDRecognizer.md you can see what documents we support.

Scanning results for each document in each country that we support you can find here https://github.com/BlinkID/blinkid-android/blob/master/documentation/BlinkIDRecognizerResult.md#anonymized-fields

If you want to use BlinkIdSingleSideRecognizer it can be used for scanning the front side of the document.

In case you want to extract the data from the backside of the document, using the OCR solution then you will need to use BlinkIdMultiSideRecognizer which requires first scanning of the front side and then it scans the backside of the document.

If you want to scan only the backside with the BlinkIdSingleSideRecognizer, OCR scanning will not be extracted, but if the document has an MRZ line for example on the backside, then the data will be extracted from the backside from the MRZ line together with the backside image of the document.

So for your use case, it depends of the document that you are trying to scan and what data documents contain on the backside. Therefore, please check the above links where you can see exactly what fields we return for each document.

For easier communication, we suggest that you contact us directly at support@microblink.com and we’ll see what solution would be best for your use case.