feat: Implement face detection improvements and cleanup script

This commit introduces significant enhancements to the face detection system, addressing false positives by updating configuration settings and validation logic. Key changes include stricter confidence thresholds, increased minimum face size, and improved aspect ratio requirements. A new script for cleaning up existing false positives from the database has also been added, successfully removing 199 false positive faces. Documentation has been updated to reflect these changes and provide usage instructions for the cleanup process.
This commit is contained in:
tanyar09
2025-10-16 15:56:17 -04:00
parent d398b139f5
commit 68673ccdbe
8 changed files with 295 additions and 6 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ class PhotoTagger:
def main():
"""Main CLI interface"""
# Suppress pkg_resources deprecation warning from face_recognition library
# Suppress TensorFlow and other deprecation warnings from DeepFace dependencies
import warnings
warnings.filterwarnings("ignore", message="pkg_resources is deprecated", category=UserWarning)