From 37bea367f565e1269135cd9ba74825133869be1d Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 10 Jul 2022 20:09:22 +1000 Subject: [PATCH] fixed BUG-90 (not finding best match, but last match) --- BUGs | 4 ---- pa_job_manager.py | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/BUGs b/BUGs index d374fde..f2a3296 100644 --- a/BUGs +++ b/BUGs @@ -24,8 +24,4 @@ BUG-89: refimg face_locn also got transformed -- some sequence of adding/removin ----+----------+--------+--------+---------------------- 1 | cam.jpg | 978 | 1348 | {514,869,1313,70} -BUG-90: I added photo of mich as kid (ice-cream in paris) and then somehow it matches that photo to Cam's face, not the same img -- is this a bug in my code, or some weird quirk of face_recognition library??? - - either lib. is weird; OR - - I should get a lower score for mich in that image, and somehow my order/face matching is not doing the right thing - BUG-91: face_recognition not working on many of Mandy's newer phone images diff --git a/pa_job_manager.py b/pa_job_manager.py index 0fb6fb3..3838091 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -1993,6 +1993,7 @@ def FindBestFaceMatch( dist, threshold ): which_r=who which_f=fid which_fd=dist[who][fid][0] + lowest=which_fd return which_r, which_f, which_fd ####################################################################################################################################