Deep-Live-Cam/modules/processors/frame
google-labs-jules[bot] 8b61cc691f Implement ear preservation for Poisson blending.
- Added functionality to preserve target's ears when using Poisson blending.
- Introduced new global variables in `globals.py`:
  - `preserve_target_ears` (boolean flag)
  - `ear_width_ratio`
  - `ear_height_ratio`
  - `ear_vertical_offset_ratio`
  - `ear_horizontal_overlap_ratio`
- Added command-line argument `--preserve-ears` to `core.py`.
- Modified `face_swapper.py` to adjust the Poisson blending mask by
  subtracting calculated ear regions if `preserve_target_ears` is true.
  This aims to reduce artifacts around ears by using the original target
  frame's ear content.
2025-06-24 20:25:09 +00:00
..
__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 Implement ear preservation for Poisson blending. 2025-06-24 20:25:09 +00:00