Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-13 11:31:17 +00:00
parent 6a8e2f18a5
commit 3790dd3858

View File

@ -31,6 +31,10 @@ def new_user_id():
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
return(id)
@app.route('/init_face<id>')
def new_face(id):
return id
def check_id(id):
#return True -> id bereits verwendet
#return False -> id noch nicht verwendet