feat: Enhance face identification with unique faces filter and improved API logging

This commit introduces a new feature in the Identify component that allows users to filter for unique faces only, hiding duplicates with ≥60% match confidence. The API has been updated to log calls to the get_similar_faces endpoint, including warnings for non-existent faces and information on the number of results returned. Additionally, the SimilarFaceItem schema has been updated to include the filename, improving data handling and user experience. Documentation and tests have been updated accordingly.
This commit is contained in:
tanyar09
2025-11-03 14:00:25 -05:00
parent 817e95337f
commit 59dc01118e
10 changed files with 481 additions and 70 deletions
+1
View File
@@ -78,3 +78,4 @@ if __name__ == "__main__":
test_confidence_calibration()
+1
View File
@@ -22,3 +22,4 @@ def test_unidentified_faces_empty():
assert data['total'] >= 0