Code Monkey home page Code Monkey logo

bon_splitser's Introduction

Bon splitser

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.

Installation

  1. Install Tesseract OCR 5.x (for windows use https://digi.bib.uni-mannheim.de/tesseract/)
  2. Add Tesseract to Path
  3. Download "nld.traineddata" from https://github.com/tesseract-ocr/tessdata. Place the file in Tesseract-OCR\tessdata
  4. Install python packages from "requirements.txt"

Usage

  1. Clone project and cd to project dir
  2. In your terminal "flask run" see https://flask.palletsprojects.com/en/2.0.x/quickstart/
  3. Go to http://127.0.0.1:5000/ (does not work well with narrow displays)
  4. Download your receipt pdf from the Albert Heijn app or use the example pdf from the "test_data" directory
  5. Upload the receipt pdf and enter the names of the participants screen_01
  6. Select which participant is paying for what screen_02
  7. The receipt is split screen_03

bon_splitser's People

Contributors

ywilke avatar suzanneve 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.