Exemple #1
0
def submit_form():
    image_url = request.form["image_url"]
    return jsonify(response=recognize_image(image_url))
Exemple #2
0
def api_response(image_url):
    image_url = urllib.unquote_plus(image_url)
    return jsonify(response=recognize_image(image_url))