Over the last few years, deep learning techniques have yielded significant improvements in image inpainting. However, many of these techniques fail to reconstruct reasonable structures as they are commonly over-smoothed and/or blurry. This paper develops a new approach for image inpainting that does a better job of reproducing filled regions exhibiting fine details. We propose a two-stage adversarial model EdgeConnect that comprises of an edge generator followed by an image completion network. The edge generator hallucinates edges of the missing region (both regular and irregular) of the image, and the image completion network fills in the missing regions using hallucinated edges as a priori. We evaluate our model end-to-end over the publicly available datasets CelebA, Places2, and Paris StreetView, and show that it outperforms current state-of-the-art techniques quantitatively and qualitatively. Code and models available at: https://github.com/knazeri/edge-connect
翻译:过去几年来,深层学习技术在图像油漆方面有了显著的改进,然而,许多这些技术未能重建合理的结构,因为它们通常被过度移动和(或)模糊。本文开发了一种新的图像油漆方法,在复制填充区域时可以更好地复制精细细节的精细细节。我们提出一个由边缘生成器组成的两阶段对抗模型EgeConnect,然后是图像完成网络。图像缺失区域(常规和非正规)的边缘产生幻觉,而图像完成网络则在缺失区域以拉风边缘作为前缀填充。我们评估了我们的模型端对端,在可公开获取的数据集CelebA、Places2和Paris StreetView上进行,并显示它超越了目前的最新技术的定量和定性。代码和模型见:https://github.com/knazeri/ge-connelect。