Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-13 11:45:33 +00:00
parent b6960d565c
commit 2a0ba99894

View File

@ -32,9 +32,11 @@ def new_user_id():
return(id)
@app.route('/init_face')
#call like https://face.sguba.de/init_face?id=123&upload_id=123
def new_face():
id = request.args.get('id', None)
return id
upload_id = request.args.get('upload_id', None)
return str(id) + str(upload_id)
def check_id(id):
#return True -> id bereits verwendet