SplitwiseGPT Vision is an innovative web application designed to simplify bill splitting using advanced image processing, OCR technologies, and AI. Built with Streamlit, it combines the power of Pytesseract and GPT-4 vision for image processing and OCR, and utilizes the Splitwise API for splitting bills and adding them to groups.
- Clone the repository:
git clone https://github.com/your-username/splitwisegpt-vision.git
- Navigate to the project directory:
cd splitwisegpt-vision
- Install dependencies:
pip install -r requirements.txt
Before running the application, you need to set up your environment variables. Use the example.env
file as a template:
- Rename
example.env
to.env
. - Add your specific keys for the Splitwise API and other necessary configurations as shown in the
.env
file.
- Run the Streamlit application:
streamlit run app.py
- Upload a bill image in the supported formats (PNG, JPG, JPEG).
- Select the person who paid the bill.
- View the extracted bill details and splits.
- Streamlit: For creating the web application interface.
- Pandas & NumPy: For data manipulation and numerical computations.
- OpenCV: For image processing tasks.
- Pytesseract: For optical character recognition (OCR).
- OpenAI: Integrating AI models for interpreting bill images.
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b your-branch-name
. - Make your changes and commit:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin your-branch-name
. - Submit a pull request.
This project is licensed under the MIT License.