Reference Guided Image Inpainting using Facial Attributes

Dongsik Yoon, Jeonggi Kwak, Yuanming Li, David Han, Youngsaeng Jin +1 more
1/19/2023
cs.CV

No official code found. Best implementation: Stillrot/RGINP (31 stars, MIT, last commit 2023-06-19).

Abstract

Image inpainting is a technique of completing missing pixels such as occluded region restoration, distracting objects removal, and facial completion. Among these inpainting tasks, facial completion algorithm performs face inpainting according to the user direction. Existing approaches require delicate and well controlled input by the user, thus it is difficult for an average user to provide the guidance sufficiently accurate for the algorithm to generate desired results. To overcome this limitation, we propose an alternative user-guided inpainting architecture that manipulates facial attributes using a single reference image as the guide. Our end-to-end model consists of attribute extractors for accurate reference image attribute transfer and an inpainting model to map the attributes realistically and accurately to generated images. We customize MS-SSIM loss and learnable bidirectional attention maps in which importance structures remain intact even with irregular shaped masks. Based on our evaluation using the publicly available dataset CelebA-HQ, we demonstrate that the proposed method delivers superior performance compared to some state-of-the-art methods specialized in inpainting tasks.

View on arXivView PDF

Code Implementations(1)

Stillrot/RGINPCommunity100%
MIT

Official Pytorch implementation of "Reference Guided Image Inpainting using Facial Attributes", BMVC 2021

311PythonJan 27, 20233 years agoMIT
bmvc2021facial-inpaintinggangenerative-adversarial-networkimage-inpainting+1 more

Similar Papers

Cite this paper

@article{yoon2023reference,
  title  = {Reference Guided Image Inpainting using Facial Attributes},
  author = {Dongsik Yoon and Jeonggi Kwak and Yuanming Li and David Han and Youngsaeng Jin and Hanseok Ko},
  year   = {2023},
  eprint = {2301.08044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.08044v1}
}

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/2301.08044.svg)](https://codeofpaper.com/paper/2301.08044)

Discussion