fixed BUG-90 (not finding best match, but last match)

This commit is contained in:
2022-07-10 20:09:22 +10:00
parent b9359b4680
commit 37bea367f5
2 changed files with 1 additions and 4 deletions

4
BUGs
View File

@@ -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

View File

@@ -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
####################################################################################################################################