Skip to content

About

With the help of Gemini vision pro model, any invoice could be extracted and information can be simplified

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Invoice Parsing using Gemini Vision Pro API

Try it out

APP Link

image

Overview

This project aims to facilitate the extraction of relevant information from invoices using the Gemini Vision Pro API. It provides a convenient interface to parse invoices, extracting important details such as vendor name, items list, quantities, unit prices, subtotal, and total tax. The project utilizes the capabilities of the Gemini Vision Pro API for image processing and text recognition.

Installation

To run this project, follow these steps:

  • Clone the repository from GitHub:
git clone https://github.com/EphronM/Invoice_parser.git
  • Install the required dependencies:
pip install -r requirements.txt
  • Set up Gemini Vision Pro API credentials | documentation . Create a .env file in the root directory of the project and add your API key. Gemini Vision Pro
GOOGLE_API_KEY=<your-api-key>
  • Run the Streamlit application:
streamlit run app.py

Usage

  • Once the Streamlit application is running, upload the image of the invoice using the provided interface.

  • Use the predefined buttons to extract specific information from the invoice.

  • You can also ask custom queries based on the information you want to extract

  • The extracted data will be displayed on the Streamlit app interface.

The project provides predefined buttons with corresponding queries for extracting specific information from invoices

image

Fin.

About

With the help of Gemini vision pro model, any invoice could be extracted and information can be simplified

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages