{"id":19810550,"url":"https://github.com/mittalbhavya/invoicedetailsextractor","last_synced_at":"2026-05-12T11:41:56.930Z","repository":{"id":252495670,"uuid":"840615786","full_name":"MITTALBHAVYA/InvoiceDetailsExtractor","owner":"MITTALBHAVYA","description":"Invoice Extraction Application is a Python-based tool built with Streamlit for extracting and processing invoice details from PDFs and images. It uses OCR via PaddleOCR and Generative AI with Google's Gemini API to provide structured data, including customer details, product information, and total amounts","archived":false,"fork":false,"pushed_at":"2024-08-31T09:39:08.000Z","size":1204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T18:45:30.697Z","etag":null,"topics":["ai-automation","data-extraction","generative-ai","google-gemini","image-processing","invoice-extraction","ocr","paddleocr","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MITTALBHAVYA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T06:55:53.000Z","updated_at":"2024-09-09T18:23:23.000Z","dependencies_parsed_at":"2024-08-10T08:17:06.094Z","dependency_job_id":"ea87894c-0973-4555-927c-136d61c1a43c","html_url":"https://github.com/MITTALBHAVYA/InvoiceDetailsExtractor","commit_stats":null,"previous_names":["mittalbhavya/swipeinterntask","mittalbhavya/invoicedetailsextractor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MITTALBHAVYA/InvoiceDetailsExtractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MITTALBHAVYA%2FInvoiceDetailsExtractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MITTALBHAVYA%2FInvoiceDetailsExtractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MITTALBHAVYA%2FInvoiceDetailsExtractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MITTALBHAVYA%2FInvoiceDetailsExtractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MITTALBHAVYA","download_url":"https://codeload.github.com/MITTALBHAVYA/InvoiceDetailsExtractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MITTALBHAVYA%2FInvoiceDetailsExtractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32937998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-automation","data-extraction","generative-ai","google-gemini","image-processing","invoice-extraction","ocr","paddleocr","python","streamlit"],"created_at":"2024-11-12T09:22:21.302Z","updated_at":"2026-05-12T11:41:56.914Z","avatar_url":"https://github.com/MITTALBHAVYA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Here's a comprehensive `README.md` file for your invoice extraction Streamlit application:\n\n```markdown\n# Invoice Extraction Application\n\n## Overview\n\nThe Invoice Extraction Application is a powerful tool built with Python and Streamlit that allows users to extract and process invoice details from various file types, including PDFs and images. This application leverages Optical Character Recognition (OCR) and Generative AI to provide structured data from invoices.\n\n## Features\n\n- **File Upload**: Supports uploading of PDF and image files.\n- **Extraction Methods**: Offers two methods of extraction:\n  - **Direct Extraction (Image-based)**: Processes images directly for extraction.\n  - **Text Extraction (Text-based)**: Extracts text from PDFs and then processes the text.\n- **Structured Output**: Provides extracted invoice details in a well-organized JSON format.\n\n## Requirements\n\nEnsure you have Python 3.7+ installed. Create a virtual environment and install the necessary packages listed in `requirements.txt`:\n\n```bash\npip install -r requirements.txt\n```\n\n## Setup\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/MITTALBHAVYA/InvoiceDetailsExtractor\n   cd invoice-extraction-app\n   ```\n\n2. **Set Up Environment Variables**\n\n   Create a `.env` file in the project root directory with the following content:\n\n   ```env\n   GEMINI_API_KEY=your_api_key_here\n   ```\n\n   Replace `your_api_key_here` with your actual API key.\n\n3. **Run the Application**\n\n   Start the Streamlit app:\n\n   ```bash\n   streamlit run app.py\n   ```\n\n   This will launch the application in your default web browser.\n\n## Usage\n\n1. **Upload a File**\n\n   Use the file uploader to choose an invoice file. Supported formats include PDF and common image formats (PNG, JPG, JPEG, GIF, BMP, TIFF).\n\n2. **Select Extraction Method**\n\n   Choose between:\n   - **Direct Extraction (Image-based)**: Suitable for image files.\n   - **Text Extraction (Text-based)**: Suitable for PDF files.\n\n3. **Process the File**\n\n   Click the \"Process\" button to start the extraction. The application will process the file and display the extracted details.\n\n4. **View Results**\n\n   The extracted details will be displayed in a structured format. You can see customer details, product information, and the total amount extracted from the invoice.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure your code adheres to the project's coding standards and includes relevant tests.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or issues, please reach out to:\n\n- **Author**: Bhavya Mittal\n- **Email**: bhavya12mittal@gmail.com\n- **GitHub**: [INVOICE_DETAILS_EXTRACTOR](https://github.com/MITTALBHAVYA/InvoiceDetailsExtractor)\n\n## Acknowledgments\n\n- **PaddleOCR**: For Optical Character Recognition.\n- **PyMuPDF**: For PDF text extraction.\n- **Streamlit**: For creating the web application interface.\n- **Google Generative AI**: For AI-powered text extraction.\n\n```\n\n### Instructions:\n1. **Clone and Setup**: Instructions for cloning the repository and setting up the environment.\n2. **Run the Application**: How to start the Streamlit app.\n3. **Usage**: Detailed steps on how to use the application.\n4. **Contributing**: Guidelines for contributing to the project.\n5. **License and Contact**: Licensing information and contact details.\n\nFeel free to adjust the contact details and any other specifics according to your project and preferences!\n```\n![alt text](workflow.jpg)\n\u003cbr/\u003e\n![alt text](front.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmittalbhavya%2Finvoicedetailsextractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmittalbhavya%2Finvoicedetailsextractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmittalbhavya%2Finvoicedetailsextractor/lists"}