Deep-Live-Cam/modules/processors
asateesh99 98e7320237 Fix Face Stability & Hair Matching Issues
TARGETED FIXES FOR YOUR ISSUES:

1.  FACE STABILITY (Reduce Jitter):
   - Added swap_face_stable() with position smoothing
   - 70% stability factor to reduce movement while talking
   - Global position tracking for smooth transitions
   - Face position smoothing without FPS impact

2.  FOREHEAD & HAIR MATCHING:
   - Added improve_forehead_matching() function
   - Focus on upper 30% of face (forehead/hair area)
   - 60/40 blend ratio (60% swapped + 40% original forehead)
   - Better hair coverage for people with less hair
   - Soft blending to avoid harsh edges

 SPECIFIC IMPROVEMENTS:
- Less jittery face movement during talking
- Better forehead alignment and hair matching
- Preserves original hair/forehead characteristics
- Smooth position transitions
- No FPS impact (simple smoothing only)

 EXPECTED RESULTS:
- More stable face during conversation
- Better hair and forehead matching
- Less noticeable hair coverage differences
- Smoother face swap transitions
2025-07-16 03:55:22 +05:30
..
frame Fix Face Stability & Hair Matching Issues 2025-07-16 03:55:22 +05:30
__init__.py initial commit 2023-09-24 21:36:57 +08:00