OCR Reciept project
upload receipt picture as formdata
with file
keyword
will receive parsed result as json response
USAGE
-
cd OCR_Receipt
-
pipenv install
-
pipenv shell
-
./src/manage.py migrate
-
./src/manage.py runserver
-
endpoint
: "127.0.0.1:8000/api/predictor/"
TODO:
- make better and strict serializer.
- use model for saving results if required.
Installing tesseract on Ubuntu
sudo apt-get install libleptonica-dev
sudo apt-get install tesseract-ocr
sudo apt-get install libtesseract-dev