Deep-Live-Cam/modules
asateesh99 2d0c5bc8d0 FIX: Black Line Artifact & Hair on Forehead Issues
CRITICAL FIXES FOR VISUAL ARTIFACTS:

1.  BLACK LINE ARTIFACT FIX:
   - Added feathered_mask clipping (0.1 to 0.9) to avoid pure black/white values
   - Prevents harsh transitions that create black lines from nose to chin
   - Smoother mask blending in mouth area

2.  HAIR ON FOREHEAD FIX:
   - Added fix_forehead_hair_issue() function
   - Blends forehead area back to original (70% original + 30% swapped)
   - Focuses on upper 35% of face to preserve natural hairline
   - Strong Gaussian blur (31x31) for very soft transitions

 ISSUES RESOLVED:
- No more black line artifacts in mouth mask mode
- Hair from source image no longer falls on forehead
- Better preservation of original hairline and forehead
- Smoother overall face swapping

 TECHNICAL IMPROVEMENTS:
- Mask value clamping prevents harsh boundaries
- Forehead protection preserves natural hair coverage
- Soft blending maintains realistic appearance
- Maintained good FPS performance

 EXPECTED RESULTS:
- Clean mouth mask without black lines
- Natural forehead appearance without source hair
- Better overall face swap quality
- Professional-looking results
2025-07-16 04:55:46 +05:30
..
processors FIX: Black Line Artifact & Hair on Forehead Issues 2025-07-16 04:55:46 +05:30
__init__.py Update __init__.py 2025-05-13 00:14:49 +08:00
capturer.py Revert "recommit webcam option" 2024-09-11 02:49:53 +08:00
cluster_analysis.py Added ability to map faces 2024-09-10 05:40:55 +05:30
core.py add mutil language 2025-01-07 14:04:18 +08:00
face_analyser.py fix: typo souce_target_map → source_target_map 2025-02-03 20:33:44 +09:00
gettext.py add mutil language 2025-01-07 14:04:18 +08:00
globals.py COMPLETE CLEANUP: Remove ALL Performance Files 2025-07-16 03:38:43 +05:30
metadata.py Revert "Update metadata.py" 2025-04-17 02:39:05 +08:00
predicter.py add toggle button for blueish cam fix (Force OpenCV2 BGR2RGB) 2024-08-30 22:02:23 +02:00
typing.py initial commit 2023-09-24 21:36:57 +08:00
ui.json reverted to the old version 2024-09-19 17:38:02 +08:00
ui.py fix typos in ui.py 2025-05-07 13:23:31 +02:00
utilities.py Adding Pygrabber as Cam manager 2024-12-13 19:49:11 +05:30
video_capture.py FOUND THE FPS KILLER: Revert Video Capture to Original 2025-07-16 03:07:01 +05:30