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

Detect orientation for a known script? #288

Open
hjf opened this issue Nov 25, 2021 · 0 comments
Open

Detect orientation for a known script? #288

hjf opened this issue Nov 25, 2021 · 0 comments

Comments

@hjf
Copy link

hjf commented Nov 25, 2021

Is it possible to do OSD but specify the script to improve the chances of correct orientation?

I'm scanning identity documents, which will always be Latin characters. But it seems OSD is thrown off by the presence of a MRZ (machine-readable zone), which you may have seen in passports and other IDs, which contains <<<<<<<<< fillers for spaces.

The side of the identity document that contains no MRZ seems to be reliably detected.

The only solution I found so far is to just brute-force it until I found a string of <<<<< (which unfortunately, very often gets confused for L most of the time).

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

1 participant