From 4088e3d7f3219ce11b16b3d36872e080459e7655 Mon Sep 17 00:00:00 2001 From: fabrice Date: Thu, 13 Jun 2019 13:27:04 +0000 Subject: [PATCH] Update 'face_recognition/app/app.py' --- face_recognition/app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/face_recognition/app/app.py b/face_recognition/app/app.py index f5be34a..a542ed5 100644 --- a/face_recognition/app/app.py +++ b/face_recognition/app/app.py @@ -56,7 +56,7 @@ def check_face(): minioClient.fget_object('users', str(id), '/tmp/'+str(id)) with open('/tmp/'+str(id), 'rb') as file: face2_encoding = pickle.load(file) - return face_recognition.compare_faces([face_encoding], face2_encoding) + return str(face_recognition.compare_faces([face_encoding], face2_encoding)) def check_id(id):