Update 'face_recognition/app/app.py'
This commit is contained in:
parent
2ab696d69d
commit
d9ec192487
@ -51,6 +51,7 @@ def new_face():
|
||||
with open(temporary_pkl_path, 'wb') as file:
|
||||
pickle.dump(face_encoding, file)
|
||||
minioClient.fput_object('users', str(id), temporary_pkl_path)
|
||||
#return boolean if setup was succesful
|
||||
return jsonify({'id':id})
|
||||
|
||||
@app.route('/check_face')
|
||||
|
Loading…
Reference in New Issue
Block a user