Closed Lechucico closed 4 years ago
Note that the names of the files in the repository start with the number, indicating the "valid_score" that the algorithm was achieving at least at some point. The fact that the file is named 0_xxx indicates that, indeed, the method fails to extract the correct data here and I did not find enough time to debug the individual steps to tune the image extraction for this image in particular.
As for photos, do note that three common problems with them, which may confuse PassportEye are:
In order to understand the actual reasons for the failure one should try examining the individual steps of the processing pipeline and tuning them appropriately. I might find some time to deal with it myself, but most probably not within a couple of months at least.
I'm trying to read Spanish MRZ ID card, but it's not working.
The photo is the one provided in this repository:
This is what I obtain from the following command:
mrz 0_id-esp.png --json
EDIT I've tested with my own Spanish ID card as a photo and his detection is completely random. Some photos simply show
mrz_type: null
, another ones showvalid_score: 5
with all data wrong and some morevalid_score: 50
with almost all data correct. It's almost the same photo (taken all with an iPhone X).