REST API to recognise hand written digits built with keras & flask hosted on heroku.
Make a post request to https://keras-flask.herokuapp.com/predict sending an image of the number you wish to predict.
import requests
resp = requests.post("https://keras-flask.herokuapp.com/predict", files={'file': open('eight.png', 'rb')})
print(resp.text)