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

Also scan ID card and compare data to that from vaccination certificate #2

Open
RaphaelWimmer opened this issue Nov 16, 2021 · 0 comments
Assignees

Comments

@RaphaelWimmer
Copy link
Collaborator

RaphaelWimmer commented Nov 16, 2021

General Idea:

  • require the user to put the ID card in front of the camera
  • identify card dimensions, rotate image accordingly
  • find photo location via Haar cascades, find photo edges, extract photo
  • find good threshold value to distinguish text from background
  • apply threshold and do OCR via pytesseract
  • identify name, date of birth fields via templates for accepted ID cards or automatically
  • check whether name and DOB are the same for vaccination certificate and ID card

Optional:

  • If the vaccination certificate has been scanned before the ID card, we already have a name and DOB that we expect to find on the ID card. Therefore we could use this information (template matching?) to facilitate the check.

Related projects:

Notes:

  • correct font for german "Personalausweis": "OCR-B"
@VitusMa VitusMa self-assigned this Nov 16, 2021
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