Skip to content

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.

License

Notifications You must be signed in to change notification settings

muhammadadilnaeem/Multiple-Language-Invoice-Extracter-LLM-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🧾 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.

MultiLanguage.Invoice.Extractor.mp4

📦 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 variables

You can install the required libraries using the following command:

pip install -r requirements.txt

📁 Installation

  1. Clone the repository:

    git clone https://github.com/muhammadadilnaeem/Multiple-Language-Invoice-Extracter-LLM-Project.git
  2. Navigate to the project directory:

    cd Multiple-Language-Invoice-Extracter-LLM-Project
  3. Create a .env file in the project root directory and add your Google API key:

    GOOGLE_API_KEY=your_google_api_key_here
    
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Run the Streamlit application:

    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.


About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages