blinkcard / blinkcard-android

SDK for scanning and OCR of credit or payment cards. Contains native Android SDK, code samples and documentation.
44 stars 5 forks source link

FaceImage returns null #25

Closed damolaobaleke closed 2 years ago

damolaobaleke commented 2 years ago

Description

On BlinkIdRecognizer Result gotten, the getFaceImage() method returns null. There's no faceImage gotten. All other info is processed fine

Screenshot 2021-12-29 at 16 41 42

Environment Details

BlinkCard version: com.microblink:blinkcard:2.5*

Device model: Samsung SM-A307FN

Device Android version: Android 11, Api 30

Device ABI (processor architecture, e.g. ARMv7): 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.

anjapenic commented 2 years ago

Hi @damolaobaleke,

Could you share with us which SDK are you using? Are you using both BlinkID and BlinkCard SDKs in your project?

When setting your recognizer, have you set the setReturnFaceImage to true? For example, like this:

        recognizer = new BlinkIdRecognizer();
        recognizer.setReturnFaceImage(true);
        recognizerBundle = new RecognizerBundle(recognizer);

Best regards, Anja

damolaobaleke commented 2 years ago

@anjapenic Thanks, I didn't know that method existed so i hadn't set it to true. I'd try that out.

damolaobaleke commented 2 years ago

@anjapenic This recognizer.setReturnFaceImage(true); fixed it. Thanks !