Update 'face_recognition/app/app.py'
This commit is contained in:
parent
6a8e2f18a5
commit
3790dd3858
@ -30,6 +30,10 @@ def new_user_id():
|
|||||||
pickle.dump(demo_object, f)
|
pickle.dump(demo_object, f)
|
||||||
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
||||||
return(id)
|
return(id)
|
||||||
|
|
||||||
|
@app.route('/init_face<id>')
|
||||||
|
def new_face(id):
|
||||||
|
return id
|
||||||
|
|
||||||
def check_id(id):
|
def check_id(id):
|
||||||
#return True -> id bereits verwendet
|
#return True -> id bereits verwendet
|
||||||
|
Loading…
Reference in New Issue
Block a user