-
Notifications
You must be signed in to change notification settings - Fork 111
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
MRZ is too close to the remaining part of the card #63
Comments
I'd also be happy if someone who has access to such IDs, enough time, skill and motivation would try such experiments. Unfortunately, I personally don't have the resources necessary at this moment to explore this issue. |
https://disk.yandex.com.tr/i/8XuAENlZ8G_CoQ Here is one example. I checked the contours after the boone transform. And the borders connect together with MRZ field. |
Hey man did you checked the files I provided? @konstantint |
You did read the second sentence in previous comment as well, right? ;) |
My bad sorry. I thought you just don't have images. Well I am onto it. Might send you a pull request in a week or so. |
I find a work around/fix. First I tried cropping the borders but tesseract performs bad when there is no white borders. So I draw white lines on top of the borders. Here is the code for others
|
I am having some problems about Some types of IDs (Romanian being one example), where the MRZ is too close to the remaining part of the card. Can you do something about it? Like applying some margin 5% to the largest box. Or some stronger erosion after merging the boxes together to break apart the borders from the MRZ. Or detecting the ID card or passport first and cropping it on the borders a little bit. I have been trying to do something about it for a few days but I am not experienced enough.
The text was updated successfully, but these errors were encountered: