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

Idea: implement OCR for accreditation certificate #270

Open
punchagan opened this issue Feb 10, 2024 · 0 comments
Open

Idea: implement OCR for accreditation certificate #270

punchagan opened this issue Feb 10, 2024 · 0 comments

Comments

@punchagan
Copy link
Member

Sometimes people could enter wrong dates for the accreditation start date. WFDF didn't have an API to get the dates, but OCR could be easy to do given we know exactly what the document looks like. Some pre-processing to deal with the transparent background, followed by local OCR should do a reasonably good job.

We could do it post upload on the server, to validate the entered date, if that's easier. But, doing it on the client side using something like tesseract.js might give better UX.
https://github.com/naptha/tesseract.js/

(The issue was brought back into focus by Tara, recently)

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