fixed BUG-90 (not finding best match, but last match)
This commit is contained in:
4
BUGs
4
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
|
||||
|
||||
@@ -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
|
||||
|
||||
####################################################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user