/flask-receipt-scanner

Receipt Scanner GUI that runs on top of a Flask Web Server

Primary LanguageHTMLApache License 2.0Apache-2.0

Flask - Receipt Scanner

Screencapture

Table of Contents

Click to expand
  1. Introduction
  2. Setup
  3. Authors
  4. License
  5. References

1 Introduction

Receipt Scanner is a Web GUI that runs on top of a Flask Web Server. The following features are implemented.

Frontend:

  • File Upload
  • Image Preview
  • Text Preview (Tabular Style)
  • Text Preview (OCR TEXT)
  • Text Preview (RAW JSON)

Server

There is neither an OCR library nor an Information Extraction library included. Feel free to add your preferenced services. This project is meant for mostly kickstart purposes only.

2 Setup

Make sure to have Python 3.6 or newer installed.

2.1 Get virtualenv

$ pip3 install virtualenv

2.2 Create a virtual enviroment

Make sure to create a Python3 instead of Python2 enviroment by refrencing its binaries.

$ which python3
/usr/bin/python3

You can use any name you want, we will use "venv".

$ virtualenv -p /usr/bin/python3  venv

2.3 Activate enviroment

$ . venv/bin/activate

Now you have activated your virual enviroment and your teminal should display its name as so:

$(venv)

2.4 Install requried packages

$(venv) pip install -r requirements.txt  

2.5 Run The Application

$(venv) python server.py

You’ll see output similar to this:

Serving Flask app "server"
Environment: development
Debug mode: on
Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

3 Authors

4 License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

5 References

🌟 PLEASE STAR THIS REPO IF YOU FOUND SOMETHING INTERESTING 🌟