GithubHelp home page GithubHelp logo

shrimantasatpati / invoice_extraction_using_gemini_streamlit_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.22 MB

This project is a Streamlit application that uses the Gemini Pro Vision model from Google's Generative AI to extract information from invoice images. It allows users to upload an invoice image and enter a prompt, and the application will generate a response based on the information present in the image.

Python 100.00%
google-gemini-pro streamlit

invoice_extraction_using_gemini_streamlit_app's Introduction

Invoice Extraction Using Gemini Streamlit App

This project is a Streamlit application that uses the Gemini Pro Vision model from Google's Generative AI to extract information from invoice images. It allows users to upload an invoice image and enter a prompt, and the application will generate a response based on the information present in the image.

Prerequisites

Before running the application, make sure you have the following prerequisites installed:

  • Python 3.11
  • Pip (Python package installer)

Installation

  1. Clone the repository:
git clone https://github.com/your-username/invoice_extraction_using_gemini_streamlit_app.git
  1. Navigate to the project directory:
cd invoice_extraction_using_gemini_streamlit_app
  1. Create a virtual environment (recommended):
python -m venv venv
  1. Activate the virtual environment (on windows):
venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt

Usage:

Run the Streamlit application:

streamlit run app.py
  • The application will open in your default web browser.
  • Upload an invoice image by clicking the "Choose an image" button.
  • Enter a prompt in the text input field related to the information you want to extract from the invoice.
  • Click the "Submit" button to generate the response based on the uploaded image and the provided prompt.
  • The generated response will be displayed in the application.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

invoice_extraction_using_gemini_streamlit_app's People

Contributors

shrimantasatpati avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.