Spaces:
Sleeping
Sleeping
| title: Bill Invoice Scanner Pro | |
| emoji: π§Ύ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| sdk_version: 1.42.0 | |
| app_file: app.py | |
| pinned: false | |
| # π§Ύ Invoice Scanner Pro | |
| π **Live Application:** [https://huggingface.co/spaces/Divya499/Bill-Invoice-Scanner-Pro](https://huggingface.co/spaces/Divya499/Bill-Invoice-Scanner-Pro) | |
| ## π Project Description | |
| Invoice Scanner Pro is a highly capable, GPU-accelerated web application built on Streamlit and EasyOCR. It rapidly automates financial data processing by utilizing regex rules to extract vendor names, precise transaction dates, and total amounts directly from uploaded receipts and invoices. Featuring an interactive dashboard, users can easily perform human-in-the-loop data corrections, push verified information into a local SQLite database, and seamlessly export their records into instantly updated real-time CSV or Excel spreadsheets. | |
| ## π Folder Structure | |
| ```text | |
| Bill Invoice detector/ | |
| βββ bill_scanner/ # Main Source Package | |
| β βββ app.py # Streamlit Dashboard Entrypoint | |
| β βββ benchmark_sroie.py # SROIE Benchmarking Script | |
| β βββ database.py # SQLite Wrapper & Persistence | |
| β βββ extractor.py # Field Parsing & Regex Rules | |
| β βββ ocr.py # Wrapper around EasyOCR | |
| βββ SROIE_Dataset/ # Benchmark images and texts | |
| βββ tests/ # Unit tests for the system | |
| βββ scripts/ # Helper processing scripts | |
| βββ requirements.txt # Python dependencies | |
| βββ LICENSE # Project software license | |
| βββ README.md # Project documentation | |
| ``` | |
| ## βοΈ Installation & Usage | |
| 1. **Install Requirements:** | |
| Make sure you have PyTorch installed for your specific CUDA version (e.g., cu118). Then install the requirements: | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| 2. **Run the Dashboard:** | |
| ```bash | |
| cd bill_scanner | |
| streamlit run app.py | |
| ``` | |