- Updated `face_swapper.py` to prioritize using the face bounding box (bbox) for creating the Poisson blending mask. This provides a tighter mask around the swapped face area, aiming to reduce artifacts near ears/hairline. - Implemented fallback to landmark-based convex hull if bbox is invalid or unavailable. - Added logging for mask generation issues and skipping blending if no valid mask can be created. |
||
---|---|---|
.. | ||
frame | ||
__init__.py |