-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgit-commit-message.txt
More file actions
14 lines (10 loc) · 1.07 KB
/
Copy pathgit-commit-message.txt
File metadata and controls
14 lines (10 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix(face-verification): resolve stale descriptor issue in attendance verification
- Fix face verification failing when face stays in camera view
- Implement fresh descriptor capture at verification moment instead of using continuously updated descriptor
- Add smart descriptor management to prevent quality degradation from frequent updates
- Improve verification reliability by capturing face data when user clicks "Verify My Face"
- Enhance error handling and user feedback for failed captures
- Add comprehensive logging for debugging verification issues
The issue was caused by the continuous face detection loop constantly updating the face descriptor every 300ms, leading to potential use of poor-quality descriptors during verification. Moving the face away worked because it froze the last good descriptor.
Now the system captures a fresh, high-quality descriptor at the exact moment of verification, ensuring consistent and reliable face verification regardless of face movement patterns.
Resolves counterintuitive behavior where keeping face steady failed but moving it worked.