CVJul 15, 2024

InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models

arXiv:2407.10958v111 citationsh-index: 45
Originality Incremental advance
AI Analysis

This addresses video editing for content creators by enabling controlled object manipulation without fine-tuning, though it is incremental as it builds on existing diffusion techniques.

The paper tackles the problem of inserting or replacing objects in videos using off-the-shelf diffusion models, achieving realistic results with improved blending and temporal coherence compared to existing methods.

We introduce InVi, an approach for inserting or replacing objects within videos (referred to as inpainting) using off-the-shelf, text-to-image latent diffusion models. InVi targets controlled manipulation of objects and blending them seamlessly into a background video unlike existing video editing methods that focus on comprehensive re-styling or entire scene alterations. To achieve this goal, we tackle two key challenges. Firstly, for high quality control and blending, we employ a two-step process involving inpainting and matching. This process begins with inserting the object into a single frame using a ControlNet-based inpainting diffusion model, and then generating subsequent frames conditioned on features from an inpainted frame as an anchor to minimize the domain gap between the background and the object. Secondly, to ensure temporal coherence, we replace the diffusion model's self-attention layers with extended-attention layers. The anchor frame features serve as the keys and values for these layers, enhancing consistency across frames. Our approach removes the need for video-specific fine-tuning, presenting an efficient and adaptable solution. Experimental results demonstrate that InVi achieves realistic object insertion with consistent blending and coherence across frames, outperforming existing methods.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes