Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the requirements on the image containing the MRZ? #2

Open
snoopyhunter2 opened this issue Aug 6, 2024 · 2 comments
Open
Assignees

Comments

@snoopyhunter2
Copy link

After managing to install FastMRZ, and checking that the examples are processed correctly, I'm trying out FastMRZ on my own data.
It's an image I took of my own EU id card, with the MRZ clearly readable.
However, FastMRZ is not able to correctly process this image.
fast_mrz.get_mrz gives:
{
"status": "FAILURE",
"message": "Invalid MRZ format"
}
whereas fast_mrz.get_raw_mrz gives only the first line (out of 3).

What is going wrong here? For obvious reasons I cannot share the image I used.

@sivakumar-mahalingam
Copy link
Owner

Could you please share some details related to image?

  • File format of the image
  • Its resolution
  • Size of the image

@sivakumar-mahalingam sivakumar-mahalingam self-assigned this Aug 6, 2024
@snoopyhunter2
Copy link
Author

Thank you for getting back!
The image is in PNG format, 525 × 700 at 72 × 72 resolution, 822 KB.
Do you think this is not a high enough resolution?

sivakumar-mahalingam pushed a commit that referenced this issue Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants