Example #1
0
File: main.py Project: barisg/aeye
def submit_form():
    image_url = request.form["image_url"]
    return jsonify(response=recognize_image(image_url))
Example #2
0
File: main.py Project: barisg/aeye
def api_response(image_url):
    image_url = urllib.unquote_plus(image_url)
    return jsonify(response=recognize_image(image_url))