老照片有救了,基于深度学习的自动着色和修复

简评:老旧片修复一直不简单,不仅需要大量的时间和熟练的软件操作能力,还需要具备一定的绘画欣赏能力。这个模型采用 GAN 来实现,效果还不错。

这是一个基于深度学习的模型,模型的目的是对老照片进行自动着色和修复。

技术方法:

更多技术细节可以前往文末的 GitHub 链接上阅读。

下面是一些修复范例。(原始图片来源于 r/TheWayWeWere subreddit)

Maria Anderson as the Fairy Fleur de farine and Lyubov Rabtsova as her page in the ballet “Sleeping Beauty” at the Imperial Theater, St. Petersburg, Russia, 1890.
Woman relaxing in her livingroom (1920, Sweden)
Medical Students pose with a cadaver around 1890
Surfer in Hawaii, 1890
Whirling Horse, 1898
Interior of Miller and Shoemaker Soda Fountain, 1899
Paris in the 1880s
Edinburgh from the sky in the 1920s
Texas Woman in 1938
People watching a television set for the first time at Waterloo station, London, 1936

即使对一些非常破旧的照片,修复的结果也挺不错的:

Deadwood, South Dakota, 1877
Siblings in 1877
Portsmouth Square in San Franscisco, 1851
Samurais, circa 1860s

当然,这个模型还不是完美的,下面这张照片,手的颜色就太红了:

Seneca Native in 1908

这个模型还可以为黑白线条图进行着色:

更多的结果发布在作者的 Twitter 上。


GitHub:

A Deep Learning based project for colorizing and restoring old images

favorite:

产品 | 设计 | 技术 | HackLife | Photography