DocuFlow: Turning Invoice PDFs into Structured Financial Data
说明与用途
DocuFlow 使用 Docker、Celery、Tesseract 和 PostgreSQL 自动提取 PDF 发票数据,并在 Streamlit 中可视化结果。
问题
Invoices stored as PDFs in a folder are difficult to process at scale; manual extraction is error‑prone and duplicate detection is missing.
结果
The pipeline processes hundreds of invoices automatically, eliminates duplicate processing, and provides real‑time analytics without blocking the UI.
工作流
- Watch hot folder for new PDFs
- Queue task to Redis via Celery
- Asynchronous worker runs Tesseract + Poppler to extract text
- Parse extracted text for invoice fields (number, date, vendor, total)
- Store parsed data in PostgreSQL
- Query data from Streamlit dashboard for analysis
证据
DocuFlow is a containerized, event‑driven pipeline that automates ingestion, OCR, parsing, and analytics for invoices and financial documents.
Hot‑folder watcher for real‑time ingestion
Celery + Redis for asynchronous OCR and parsing
Tesseract + Poppler for PDF/image text extraction
PostgreSQL for persistent storage
Streamlit dashboard for visualization and quick analysis
- 记录日期: 2026-10-19T23:41:20.905Z