Other interested parties: @jsfenfen @lukerosiak
Summary:
Using the x,y coordinates of a scanned form's fields, treat the search for interesting regions of a document as a geo-search.
With an idea of where a field is expected to be, we can do fuzzy queries that for that field across multiple documents, extracting isolated areas to be digitized individually using off-the-shelf OCR (tesseract, etc).
Method:
One output of tesseract gives us bounding boxes of the text that it found, expressed as x, y coordinates. Selecting the bounding boxes that represent a field of interest, we can record its location and look for boxes that are roughly similar in other documents for which we also have bounding-box information.
So Far:
- using direct database queries, we've been able to prove this strategy by extracting at least one field across many 990s.
To Do:
Other interested parties: @jsfenfen @lukerosiak
Summary:
Using the x,y coordinates of a scanned form's fields, treat the search for interesting regions of a document as a geo-search.
With an idea of where a field is expected to be, we can do fuzzy queries that for that field across multiple documents, extracting isolated areas to be digitized individually using off-the-shelf OCR (tesseract, etc).
Method:
One output of tesseract gives us bounding boxes of the text that it found, expressed as x, y coordinates. Selecting the bounding boxes that represent a field of interest, we can record its location and look for boxes that are roughly similar in other documents for which we also have bounding-box information.
So Far:
To Do: