Skip to content

bellyfat/deepreceipt-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepReceipt Web App

This is an AI-backed Web application in Python and Flask to help customers manage expenses by uploading receipts.

It pre-processes receipt images to detect the receipt location, crop it from background, and classify the vendor logos by OpenCV and Deep learning technologies.

We built a ConvNN + RNN(BLSTM) + CTC Loss network model as a morden OCR(Optical Character Recognization) engine to extract text from receipt images by using Tensorflow.

Then, complementary analysis is applied on the OCR results to enhance/improve the recognization accuracy by artifical rules.

Finally, convert unstructure data to Json files and stored in database.

This app is implemented by Flask framework in Python 2.7.

Install and Run the App:

$ cd DeepReceipt

$ virtualenv venv

$ source venv/bin/activate

$ pip install -r requirements.txt

Database Management

# Initialize migration package
$ ./manage.py db init

# Create DB change scripts
$ ./manage.py db migrate

# Execute DB changes
$ ./manage.py db upgrade

$ python run.py

About

A web application to process receipt images by Deep learning based OCR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.0%
  • HTML 28.9%
  • CSS 8.1%