tuniu0416 / VideoSwap

Code for VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VideoSwap

VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondence
Yuchao Gu, Yipin Zhou, Bichen Wu, Licheng Yu, Jia-Wei Liu, Rui Zhao, Jay Zhangjie Wu,
David Junhao Zhang, Mike Zheng Shou, Kevin Tang

arXiv Project Page

teaser.mp4

VideoSwap is a framework that supports swapping users' customized concepts into videos while preserving the background.

Current diffusion-based video editing primarily focuses on structure-preserved editing by utilizing various dense correspondences to ensure temporal consistency and motion alignment. However, these approaches are often ineffective when the target edit involves a shape change. To embark on video editing with shape change, we explore customized video subject swapping in this work, where we aim to replace the main subject in a source video with a target subject having a distinct identity and potentially different shape. In contrast to previous methods that rely on dense correspondences, we introduce the VideoSwap framework that exploits semantic point correspondences, inspired by our observation that only a small number of semantic points are necessary to align the subject's motion trajectory and modify its shape. We also introduce various user-point interactions (\eg, removing points and dragging points) to address various semantic point correspondence. Extensive experiments demonstrate state-of-the-art video subject swapping results across a variety of real-world videos.

For more see the project webpage.

📜 License and Acknowledgement

This codebase builds on diffusers. Thanks for open-sourcing! Besides, we acknowledge following amazing open-sourcing projects:

Citation

@article{gu2023videoswap,
  title={VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondence},
  author={Gu, Yuchao and Zhou, Yipin and Wu, Bichen and Yu, Licheng and Liu, Jia-Wei and Zhao, Rui and Wu, Jay Zhangjie and Zhang, David Junhao and Shou, Mike Zheng and Tang, Kevin},
  journal={arXiv preprint arXiv:2312.02087},
  year={2023}
}

About

Code for VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondence