From d96d3a50f487c3b4c6a82ad5c119195ef3ce3a5b Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 27 Jun 2018 07:49:38 -0400 Subject: [PATCH] cleanup --- tools/python/src/face_recognition.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/python/src/face_recognition.cpp b/tools/python/src/face_recognition.cpp index 3e3e6c13d..a3a003825 100644 --- a/tools/python/src/face_recognition.cpp +++ b/tools/python/src/face_recognition.cpp @@ -114,8 +114,7 @@ public: { for (int j = 0; j < batch_faces[i].size(); ++j) { - auto& r = matrix_cast(mean(mat(net( - jitter_image(*fimg++, num_jitters), 16)))); + auto& r = mean(mat(net(jitter_image(*fimg++, num_jitters), 16))); face_descriptors[i].push_back(matrix_cast(r)); } }