Make sure you have tesseract-ocr (brew install tesseract) installed before continuing.
% go get github.com/otiai10/ocrserver/...
% PORT=8080 ./ocrserver
# open http:/./localhost:8080Dependencies are a bit painful to figure out...
Simple OCR server, as a small working sample for gosseract.
Try now here https://ocr-example.herokuapp.com/, and deploy your own now.
# Get the code
% git clone git@github.com:otiai10/ocrserver.git
% cd ocrserver
# Make your app
% heroku login
% heroku create
# Deploy the container
% heroku container:login
% heroku container:push web
# Enjoy it!
% heroku opencf. heroku cli
% docker run -p 8080:8080 otiai10/ocrserver
# open http://localhost:8080cf. docker
% docker-compose up
# open http://localhost:8080cf. docker-compose
cf. gosseract
