Awesome Open Source
Awesome Open Source


Note: Following steps are for Ubuntu/Debian

  1. sudo apt-get install g++ libxrandr-dev libfox-1.6-dev python-pip
  2. pip install pipenv
  3. Add $HOME/.local/bin to PATH
  4. pipenv install

Exporting the model to frozengraph format

aocr export --format=frozengraph ./exported-model-frozen

Starting the server

Note: you need to have a frozengraph model inside ./exported-model-frozen from the previous step pipenv run flask run


POST /predict


Encoding: form-data

name description
file PNG/JPG/GIF file with the text image


curl --request POST \
  --url http://localhost:5000/predict \
  --form [email protected]_file.png


    "text": "Some recognized text"

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,118,862
Tensorflow (12,594
Flask (9,780
Related Projects