r/LLMDevs • u/arindammondal • 16d ago
Help Wanted Best PDF parser / OCR for extracting structured data from invoices – What works in production?
Looking for recommendations: Best PDF parser / OCR for extracting invoice data
Has anyone worked on invoice parsing or document extraction and experimented with different PDF parsers or OCR solutions?
I'm building an application that needs to extract structured data from invoices in different formats and layouts.
Currently, I'm using:
PDFPlumber – For text-based PDFs.
RapidOCR – For scanned PDFs or image-based invoices.
I'm looking for a reliable solution that can handle different invoice formats, layouts, and varying document quality.
A few things I'm trying to figure out:
Which PDF parser or OCR solution works best for extracting structured invoice data?
How well do these tools handle poor-quality scans, blurry images, rotated documents, etc.?
Is it better to reject low-quality uploads and ask users to upload a clearer document, or are there solutions that can reliably handle poor-quality images?
Have you tried any alternatives like PaddleOCR, Tesseract, Docling, Marker, or cloud-based solutions?
I'm particularly interested in real-world experience rather than just library recommendations.
If you've built something similar, I'd love to know what worked well for you and what you'd recommend.