Downloads · 30 days
17
20% of all-time downloads
alirezaaminzadeh/docflow-invoice-parser-fa
docflow-invoice-parser-fa is a image-to-text model from alirezaaminzadeh. Use it when you need a caption or text from an image. It is set up for transformers. The card lists the license as apache-2.0.
Enterprise-grade Persian invoice field extraction model configuration by Aria AI.
Downloads · 30 days
17
20% of all-time downloads
All-time downloads
87
Public
Repo size
150 KB
Likes
0
Public
Click a slice to open those files.
.png135 KB · 47%
From the Hugging Face model README
Enterprise-grade Persian invoice field extraction model configuration by Aria AI.
DocFlow AI combines vision OCR with NLP heuristics and business-rule validation to extract structured data from Persian and bilingual financial documents. This repository hosts the production pipeline configuration and serves as the model card for the DocFlow product line.
| Component | Technology |
|---|---|
| OCR | EasyOCR (fa/en) + image preprocessing |
| Field extraction | ParsBERT NER + regex + line-based KV parsing |
| Validation | Pydantic business rules engine |
| Review workflow | Accountant approve/reject queue |
| Export | JSON, Excel (openpyxl) |
| API | FastAPI + PostgreSQL |
Synthetic and anonymized invoices from docflow-invoice-samples-fa.
| Field | Precision | Recall | F1 |
|---|---|---|---|
| vendor_name | 0.94 | 0.91 | 0.92 |
| invoice_number | 0.96 | 0.93 | 0.94 |
| total_amount | 0.97 | 0.95 | 0.96 |
| invoice_date | 0.89 | 0.87 | 0.88 |
| Macro avg | 0.94 | 0.92 | 0.93 |
Trained primarily on standard printed Persian invoices from manufacturing and distribution sectors. Performance may be lower on handwritten or non-standard layouts.
Interactive Space: docflow-invoice-parser-fa
@misc{docflow_invoice_parser_fa_2025,
title={DocFlow AI: Intelligent Persian Invoice Parser},
author={Aria AI Engineering Team},
year={2025},
url={https://huggingface.co/alirezaaminzadeh/docflow-invoice-parser-fa}
}
Apache 2.0