Finding signature pages in 27,000 layout-free contracts with LLMs and OCR

overwhelmed_coconut · reddit · 2026-11-25

A manufacturing company with 27,000 document folders needs to auto-reject unsigned or partially signed contracts and keep only fully signed ones, with zero tolerance for misclassifying a complete contract.

The challenge: signature pages have no fixed layout or format—some use dotted lines with name/date/title, others just "accepted and agreed" with blank space. They use Azure Document Intelligence for OCR and plan a two-stage approach: classify pages as signature candidates first, then send only candidates to an LLM to cut costs across 2,700 documents of 200+ pages each. The post asks for better heuristics and shared experiences.

Original post →

More from coding & agent

coding & agent channel →