Open akeilox opened 4 years ago
I will control it asap. :)
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.
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.
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. :)
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 ?