Skip to content

This repository contains a Python project that leverages the Gemini Pro Vision API to extract invoice information from images. The primary goal of this project is to allow users to upload images of receipts and query specific details about the invoice. The project utilizes Conda for dependency management.

kaifcoder/Invoice-Query-Tool-using-gemini-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Invoice Query

This repository contains a project that utilizes the Gemini Pro Vision API to extract invoice information from images.

demo.invoice.query.mp4

Project Setup

To set up the project, follow these steps:

  1. Install Conda if you haven't already. You can download it from the official Conda website.

  2. Open a terminal or command prompt.

  3. Create a new Conda environment with Python 3.10 by running the following command:

    conda create -p venv python==3.10
  4. Activate the newly created environment:

    conda activate venv
  5. Install the required dependencies by running the following command:

    pip install -r requirements.txt
  6. You're all set! You can now run the project and start extracting invoice information from images.

Usage

To use this project, follow these instructions:

  1. Upload the image of your receipt to the project.

  2. Ask your query in the prompt.

  3. The project will utilize the Gemini Pro Vision API to extract invoice information from the image and provide the query results.

  4. Review the extracted invoice information and query results.

  5. Repeat the process for additional receipts or queries.

Disclaimer: This project is for educational purposes only. The Gemini Pro Vision API may have usage restrictions and fees. Please refer to the API documentation and terms of service for more information.

About

This repository contains a Python project that leverages the Gemini Pro Vision API to extract invoice information from images. The primary goal of this project is to allow users to upload images of receipts and query specific details about the invoice. The project utilizes Conda for dependency management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages