Deep-Live-Cam/modules/processors/frame
asateesh99 81c1a817cc Fix Occlusion Handling - Make it Optional
FIXES:
- Occlusion detection now DISABLED by default
- Face swap works normally without interference
- Added toggle: enable_occlusion_detection = False
- Much more conservative occlusion detection when enabled
- Face swap continues working even with hands/objects

 BEHAVIOR:
- Default: Normal face swap behavior (no blocking)
- Optional: Enable occlusion detection for subtle hand protection
- Face swap always stays active and visible
- Only very obvious occlusions are handled (>15% coverage)

 SETTINGS:
- modules.globals.enable_occlusion_detection = False (default)
- modules.globals.occlusion_sensitivity = 0.3 (adjustable)

 USAGE:
- Face swap now works exactly like before by default
- To enable occlusion protection: set enable_occlusion_detection = True
- Face swap will never be completely blocked anymore
2025-07-15 23:40:43 +05:30
..
__init__.py initial commit 2023-09-24 21:36:57 +08:00
core.py fix 2025-04-19 16:03:24 +03:00
face_enhancer.py fix & add trt support 2025-04-19 16:03:49 +03:00
face_swapper.py Fix Occlusion Handling - Make it Optional 2025-07-15 23:40:43 +05:30