use better face distance sorting/matching algo

This commit is contained in:
2021-09-12 18:35:04 +10:00
parent f71e3d6144
commit 444b206c64
2 changed files with 55 additions and 34 deletions

8
TODO
View File

@@ -1,17 +1,13 @@
## GENERAL
* Face matching:
- upgrade to face distance per face per file [DONE]
- face locations:
START FORM SCRATCH for prod so all images have face_locn data
- need to reconsider whether current distance algorithm gives best match - can I do better?
* face locations -- START FORM SCRATCH for prod so all images have face_locn data
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* from menu, we could try to get smart/fancy... say find face with largest size, check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person
- read that guys face matching / clustering / nearest neighbour examples, for a whole new AI capability
https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/
* fix up logging in general
* comment your code
* js files
* html files?
## DB
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view