- Added histogram-based color correction to `face_swapper.py` for improved color matching of the swapped face to the target frame. Controlled by `--color-correction`. - Integrated Poisson blending (`cv2.seamlessClone`) for smoother face integration, reducing visible seams. Controlled by `--poisson-blending`. - Added global variables `use_poisson_blending` and `poisson_blending_feather_amount` and corresponding command-line arguments. - Refined argument parsing in `core.py` for new features. - Updated `swap_face` logic to incorporate these features and handle potential errors during blending. |
||
|---|---|---|
| .. | ||
| frame | ||
| __init__.py | ||