DoubangoTelecom / ultimateMRZ-SDK

Machine-readable zone/travel document (MRZ / MRTD) detector and recognizer using deep learning
https://www.doubango.org/webapps/mrz/
Other
174 stars 49 forks source link

French driver's license MRZ not recognized #76

Closed SoftExpert closed 2 years ago

SoftExpert commented 2 years ago

Hello,

French driver's license (the credit card sized variant) comes with a single line MRZ. Currently, it seems the SDK cannot find and process that zone. Is this a current limitation, is there some additional setting or does the SDK require additional assets/training in order to achieve this ?

Thank you in advance for the response !

Best regards, SoftExpert

DoubangoTelecom commented 2 years ago

https://www.doubango.org/SDKs/mrz/docs/Configuration_options.html#min-num-lines https://www.doubango.org/SDKs/mrz/docs/Improving_the_accuracy.html#minimum-number-of-mrz-lines

SoftExpert commented 2 years ago

Hello,

You dismissed too quickly the issue: I already had set min_num_lines to 1, before opening the case. Here is my cuurent configuration: image

SoftExpert commented 2 years ago

Also, the demo app (https://www.doubango.org/webapps/mrz/) will not recognize it either ...

DoubangoTelecom commented 2 years ago

Also, the demo app (https://www.doubango.org/webapps/mrz/) will not recognize it either ...

The demo is configured with min_num_lines equal to 2

DoubangoTelecom commented 2 years ago

Hello,

You dismissed too quickly the issue: I already had set min_num_lines to 1, before opening the case. Here is my cuurent configuration: image

The detector could fail to detect a line. Attach full logs and the image

DoubangoTelecom commented 2 years ago

I got your mail. Please attach the full logs and a sample image to reproduce. The detector should work with single line MRZ is the config is changed.

SoftExpert commented 2 years ago

Hello,

As confirmed by email, I identified the issue as being related to the image quality; adjusting the image processing chain on my side, I was able to obtain satisfactory results. Thank you for the helpful information provided.