Learning Joint Spatial-Temporal Transformations for Video Inpainting

Yanhong Zeng, Jianlong Fu, Hongyang Chao
7/20/2020
373 citations
cs.CV
transformer-attention

Official code: researchmm/STTN (561 stars, Jupyter Notebook, MIT, last commit 2025-06-18).

Abstract

High-quality video inpainting that completes missing regions in video frames is a promising yet challenging task. State-of-the-art approaches adopt attention models to complete a frame by searching missing contents from reference frames, and further complete whole videos frame by frame.

Show full abstract

However, these approaches can suffer from inconsistent attention results along spatial and temporal dimensions, which often leads to blurriness and temporal artifacts in videos. In this paper, we propose to learn a joint Spatial-Temporal Transformer Network (STTN) for video inpainting. Specifically, we simultaneously fill missing regions in all input frames by self-attention, and propose to optimize STTN by a spatial-temporal adversarial loss. To show the superiority of the proposed model, we conduct both quantitative and qualitative evaluations by using standard stationary masks and more realistic moving object masks. Demo videos are available at https://github.com/researchmm/STTN.

View on arXivView PDF

Code Implementations(1)

researchmm/STTNOfficial100%
MIT

[ECCV'2020] STTN: Learning Joint Spatial-Temporal Transformations for Video Inpainting

56181Jupyter Notebook, PythonJul 10, 20201 years agoMIT
completing-videosspatial-temporaltransformervideo-inpainting

Similar Papers

Cite this paper

@article{zeng2020learning,
  title  = {Learning Joint Spatial-Temporal Transformations for Video Inpainting},
  author = {Yanhong Zeng and Jianlong Fu and Hongyang Chao},
  year   = {2020},
  eprint = {2007.10247},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.10247}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.10247.svg)](https://codeofpaper.com/paper/2007.10247)

Discussion