BVINet: Unlocking Blind Video Inpainting with Zero Annotations
Zhiliang Wu, Kerui Chen, Kun Li, Hehe Fan, Yi Yang
TL;DR
BVINet tackles blind video inpainting by eliminating the need for corrupted-region masks and jointly learning where to inpaint and how to inpaint. It consists of a Mask Prediction Network (MPNet) and a Video Completion Network (VCNet) connected through a consistency loss that enforces mutual refinement, enabling accurate localization and realistic content filling. MPNet combines short-term prediction with a long-term transformer for temporal coherence, while VCNet uses a Wavelet Sparse Transformer with Discrete Wavelet Transform to perform frequency-aware, noise-robust inpainting that restricts attention to valid regions. A customized dataset with free-form stroke corruptions and bullet-removal clips supports robust evaluation, and experiments show state-of-the-art performance in blind settings with competitive results versus non-blind methods, confirmed by thorough ablations. This work advances practical blind video restoration by removing annotation bottlenecks and enabling scalable, annotation-free video inpainting.
Abstract
Video inpainting aims to fill in corrupted regions of the video with plausible contents. Existing methods generally assume that the locations of corrupted regions are known, focusing primarily on the "how to inpaint". This reliance necessitates manual annotation of the corrupted regions using binary masks to indicate "whereto inpaint". However, the annotation of these masks is labor-intensive and expensive, limiting the practicality of current methods. In this paper, we expect to relax this assumption by defining a new blind video inpainting setting, enabling the networks to learn the mapping from corrupted video to inpainted result directly, eliminating the need of corrupted region annotations. Specifically, we propose an end-to-end blind video inpainting network (BVINet) to address both "where to inpaint" and "how to inpaint" simultaneously. On the one hand, BVINet can predict the masks of corrupted regions by detecting semantic-discontinuous regions of the frame and utilizing temporal consistency prior of the video. On the other hand, the predicted masks are incorporated into the BVINet, allowing it to capture valid context information from uncorrupted regions to fill in corrupted ones. Besides, we introduce a consistency loss to regularize the training parameters of BVINet. In this way, mask prediction and video completion mutually constrain each other, thereby maximizing the overall performance of the trained model. Furthermore, we customize a dataset consisting of synthetic corrupted videos, real-world corrupted videos, and their corresponding completed videos. This dataset serves as a valuable resource for advancing blind video inpainting research. Extensive experimental results demonstrate the effectiveness and superiority of our method.
