alimertozdemir / EPassportNFCReader

ID Card and E-Passport Reader NFC Android Application - Sample Project with MLKit
128 stars 50 forks source link

Sony Z3 NFC #4

Open akeilox opened 4 years ago

akeilox commented 4 years ago

I have few units of sony z3 and it appears the ML kit OCR used in this project is not working on a Sony Z3(text/mrz recognition is delayed and even waiting patiently does not complete), but the ML kit implementation used at other similar project (which branched from tananev project too) at https://github.com/jllarraz/AndroidPassportReader seems to work on the same phone with same conditions given (memory, camera etc.)

Is it the drawing on the screen or the different Google ML implementation ?

alimertozdemir commented 4 years ago

I will control it asap. :)

alimertozdemir commented 4 years ago

Hi @akeilox, I have changed the way of evaluating scanned text. Could you please check if it is working now? Before you control it, make sure that you have the latest version of code on master branch.

akeilox commented 4 years ago

Hi @alimertozdemir thank you for the update. I can seem to scan most of the passports on a low powered device. Is it because of MLkit OCR moved to the device? https://developers.google.com/ml-kit/vision/text-recognition/android

There is one passport which doesnt get scanned, either with this version or the jllarraz one i linked above. Not sure if the regex failing for that particular one.

It would be great if there is an intermediate page after the camera ocr scan, that shows the scanned/OCR results before proceeding with the actual scan. This will give user the verify the scanned result before proceeding with the NFC scan.

alimertozdemir commented 3 years ago

I am sorry I don't have enough time to maintain this project. This project shows how to implement MRZ scanning and card read functions on Android. If you face some issues, try debugging and logging. :)