Skip to content

DominikGithub/Kassenzettel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kassenzettel

Web app for Zettel OCR.

Setup

  1. Set env variables in .env, package.json, (Dockerfile, docker-compose.yaml) file.
  2. Install dependencies: $ npm install (for front- and backend dirs)
  3. Python backend:
 Create virtualenv: $ virtualenv venv -p 3.7 (activate: $ source /venv/bin/activate)  
 Install requirements: $ pip install requirements.txt
  1. Tesseract intall lang (Ubuntu):
$ cd usr/share/tesseract-ocr/4.00/tessdata
$ wget https://github.com/tesseract-ocr/tessdata/raw/master/deu.traineddata (german)

OCR

For optimizations see Image processing docs

Start

  • Frontend: npm run serve starts backend on port 81 (or docker-compose up)
  • Backend: node index.js starts backend on port 4000

Build with

TODO

  • OCR parameter optimization
  • Monitor upload folder
  • Containerization
  • TLS