Zero-Shot Head Swapping in Real-World Scenarios
Journal:
arXiv
Published Date:
Mar 2, 2025
Abstract
With growing demand in media and social networks for personalized images, the
need for advanced head-swapping techniques, integrating an entire head from the
head image with the body from the body image, has increased. However,
traditional head swapping methods heavily rely on face-centered cropped data
with primarily frontal facing views, which limits their effectiveness in real
world applications. Additionally, their masking methods, designed to indicate
regions requiring editing, are optimized for these types of dataset but
struggle to achieve seamless blending in complex situations, such as when the
original data includes features like long hair extending beyond the masked
area. To overcome these limitations and enhance adaptability in diverse and
complex scenarios, we propose a novel head swapping method, HID, that is robust
to images including the full head and the upper body, and handles from frontal
to side views, while automatically generating context aware masks. For
automatic mask generation, we introduce the IOMask, which enables seamless
blending of the head and body, effectively addressing integration challenges.
We further introduce the hair injection module to capture hair details with
greater precision. Our experiments demonstrate that the proposed approach
achieves state-of-the-art performance in head swapping, providing visually
consistent and realistic results across a wide range of challenging conditions.