Update 'face_recognition/app/app.py'
This commit is contained in:
parent
b6960d565c
commit
2a0ba99894
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user