r/computervision • u/vanraj_solanki • Oct 06 '26
Help: Project Document grounding using PDF geometry, OCR and visual evidence — 72.6% Word F1
I've been working on document grounding where the goal is to map extracted values back to their exact locations in a PDF.
The interesting constraint is that the grounding layer works from the document itself:
- PDF character coordinates
- OCR
- spatial geometry
- string/format matching
- table assignment
- page-level visual evidence
Current benchmark result:
72.6179% Word Grounding F1
I'm particularly interested in the remaining failures.
Some are straightforward localization problems. Others appear to come from annotation conventions, dense layouts and cases where geometric similarity isn't enough.
I'm the author and would like feedback from people working on document vision/localization.
1
u/liltingly Oct 09 '26
PDF char boxes will have ascenders/descenders etc that differ from tight and somewhat uniform OCR crops. Same with word boxes which then are looser than char boxes in some libs. Especially what recognizers require (looking at you, PPv6). And some may be font dependent in the PDF layer. You’ll want to determine your standard location.
1
u/[deleted] Oct 06 '26
[removed] — view removed comment