DocuFlow: Turning Invoice PDFs into Structured Financial Data
Описание и применение
DocuFlow автоматизирует извлечение данных из PDF‑счётов, используя Docker, Celery, Tesseract и PostgreSQL, и визуализирует результаты в 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