This tool allows you to split a receipt from the Albert Heijn supermarket across multiple people. It uses optical character recognition to read the receipt and provides an web interface to split the receipt.
- Install Tesseract OCR 5.x (for windows use https://digi.bib.uni-mannheim.de/tesseract/)
- Add Tesseract to Path
- Download "nld.traineddata" from https://github.com/tesseract-ocr/tessdata. Place the file in Tesseract-OCR\tessdata
- Install python packages from "requirements.txt"
- Clone project and cd to project dir
- In your terminal "flask run" see https://flask.palletsprojects.com/en/2.0.x/quickstart/
- Go to http://127.0.0.1:5000/ (does not work well with narrow displays)
- Download your receipt pdf from the Albert Heijn app or use the example pdf from the "test_data" directory
- Upload the receipt pdf and enter the names of the participants
- Select which participant is paying for what
- The receipt is split