ArcorOCR.com | Backend
PDF OCR for the OCR-less | Frontend Repo
Here lives the backend for ArcorOCR.
There are two endpoints:
/upload
(perform OCR generation of the supplied file in POST)/upload/remove
(perform OCR removal of the supplied file in POST)
Enjoy.
- Pull and CD
git clone https://github.com/sam-morin/ArcorOCR-backend-python.git && cd ArcorOCR-backend
- Build image
docker build . -t arcorocr-backend
- Run image
docker run -d --restart unless-stopped -p PUBLIC_PORT:5000 arcorocr-backend
- Pull and CD
git clone https://github.com/sam-morin/ArcorOCR-backend-python.git && cd ArcorOCR-backend
- Install requirements.txt
pip install requirements.txt
- Run it with Flask
python server.py
or, better yet..
- Run it with Gunicorn
gunicorn -w 4 -b 0.0.0.0:5000 server:app --timeout 300