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

OCR Recognition Errors #3

Open
tyliec opened this issue Jul 17, 2021 · 1 comment · Fixed by #12
Open

OCR Recognition Errors #3

tyliec opened this issue Jul 17, 2021 · 1 comment · Fixed by #12
Labels
bug Something isn't working

Comments

@tyliec
Copy link
Collaborator

tyliec commented Jul 17, 2021

Context

Currently, we collect our data from the PDFs using OCR. This leads to many OCR errors, as our image cropping isn't the strictest (+ there is no validation). This can lead to the problem that we are serving false data and statistics. An easy way to see this occurring is in our "Age" chart, where there are some sub 18 year old arrests (which obviously is not correct). This isn't a big issue, as the OCR works a good majority of the time (plus, we provide the raw data and record images for anyone to validate our statistics). However, it is still an issue that should be dealt with as we want to be as accurate as possible.

Potential Solutions

  1. Have some sort of "validation" flag, with validated records vs. unvalidated records. This way we aren't presenting false statistics, as we can sort through validated/unvalidated data
  2. Have a stricter bound around the fields we are trying to parse out of each record (Line by Line, instead of cropping over the entire section)
@tyliec tyliec added the bug Something isn't working label Jul 17, 2021
tyliec added a commit that referenced this issue Jan 3, 2022
@tyliec tyliec linked a pull request Jan 3, 2022 that will close this issue
@tyliec tyliec closed this as completed in #12 Jan 4, 2022
tyliec added a commit that referenced this issue Jan 4, 2022
* feat: improve ocr recognitions (#3, #6)
@tyliec
Copy link
Collaborator Author

tyliec commented Jan 5, 2022

This is not fully corrected. Closing though since we are now reading above 95% accuracy.

@tyliec tyliec reopened this May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant