Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhammadadilnaeem/multiple-language-invoice-extracter-llm-project
This application is designed to extract information from uploaded invoice images and provide detailed responses based on user prompts. It leverages the Google Gemini-1.5-flash model for generating content and analyzing the invoice data.
https://github.com/muhammadadilnaeem/multiple-language-invoice-extracter-llm-project
css gemini html krish-naik mark project python streamlit
Last synced: about 6 hours ago
JSON representation
This application is designed to extract information from uploaded invoice images and provide detailed responses based on user prompts. It leverages the Google Gemini-1.5-flash model for generating content and analyzing the invoice data.
- Host: GitHub
- URL: https://github.com/muhammadadilnaeem/multiple-language-invoice-extracter-llm-project
- Owner: muhammadadilnaeem
- License: mit
- Created: 2024-07-21T08:41:15.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T09:30:25.000Z (4 months ago)
- Last Synced: 2024-07-22T10:09:20.574Z (4 months ago)
- Topics: css, gemini, html, krish-naik, mark, project, python, streamlit
- Language: Python
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
# **๐งพ MultiLanguage Invoice Extractor ๐**
Welcome to the **MultiLanguage Invoice Extractor** project! This Streamlit application utilizes advanced language models to analyze invoice images and answer questions about their content.
## **๐ Overview**
This application is designed to extract information from uploaded invoice images and provide detailed responses based on user prompts. It leverages the **Google Gemini-1.5-flash** model for generating content and analyzing the invoice data.
https://github.com/user-attachments/assets/6df3fbf4-49cd-4ebb-9816-da6d7bdafb05
## **๐ฆ Requirements**
- **Streamlit**: For creating the web interface
- **Pillow (PIL)**: For handling image files
- **Google Generative AI**: For using the Gemini-1.5-flash model
- **python-dotenv**: For loading environment variablesYou can install the required libraries using the following command:
```bash
pip install -r requirements.txt
```## **๐ Installation**
1. Clone the repository:
```bash
git clone https://github.com/muhammadadilnaeem/Multiple-Language-Invoice-Extracter-LLM-Project.git
```2. Navigate to the project directory:
```bash
cd Multiple-Language-Invoice-Extracter-LLM-Project
```3. Create a `.env` file in the project root directory and add your Google API key:
```plaintext
GOOGLE_API_KEY=your_google_api_key_here
```4. Install the required dependencies:
```bash
pip install -r requirements.txt
```5. Run the Streamlit application:
```bash
streamlit run app.py
```## **๐ผ๏ธ Features**
- **Upload Invoice Image**: Supports jpg, jpeg, png, and jfif formats.
- **Input Prompt**: Enter a question or details about the invoice.
- **Generate Response**: Click the button to analyze the invoice and get the response.## **๐ธ How to Use**
1. **Upload an Invoice Image**: Click the "Choose an Image of Invoice" button to upload your invoice image.
2. **Enter a Prompt**: Provide any details or questions you have regarding the invoice in the input field.
3. **Analyze the Invoice**: Click "Tell me about Invoice" to get a detailed response based on the invoice content.## **๐ ๏ธ Error Handling**
The application will notify you if no invoice image is uploaded when you try to submit the form.
## **๐จ Customization**
The app features a custom style including colors and layout, optimized for both light and dark themes.
---