jantic /DeOldify

A Deep Learning based project for colorizing and restoring old images (and video!)

★ 18,449⑂ 2,630
PythonCreated 2018-10-31
18,449
stars
+-3+-5+-22
2,630
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions

README

DeOldify

This Reposisitory is Archived  This project was a wild ride since I started it back in 2018.  6 years ago as of this writing (October 19, 2024)!.  It's time for me to move on and put this repo in the archives as I simply don't have the time to attend to it anymore, and frankly it's ancient as far as deep-learning projects go at this point! ~Jason

Quick Start: The easiest way to colorize images using open source DeOldify
(for free!) is here: DeOldify Image Colorization on DeepAI

Desktop: Want to run open source DeOldify for photos and videos on the desktop?
 Stable Diffusion Web UI Plugin- Photos and video, cross-platform (NEW!). 
 ColorfulSoft Windows GUI- No GPU required! Photos/Windows only. .
No GPU required!

In Browser (new!)  Check out this Onnx-based in browser implementation:  https://github.com/akbartus/DeOldify-on-Browser

The most advanced version of DeOldify image colorization is available here,
exclusively.  Try a few images for free! MyHeritage In Color

Replicate: Image:  | Video: 

----------------------------

Image (artistic) 
| Video 

Having trouble with the default image colorizer, aka "artistic"?  Try the
"stable" one below.  It generally won't produce colors that are as interesting as
"artistic", but the glitches are noticeably reduced.

Image (stable) 

Instructions on how to use the Colabs above have been kindly provided in video
tutorial form by Old Ireland in Colour's John Breslin.  It's great! Click video
image below to watch.



Get more updates on Twitter
![Twitter logo](https://twitter.com/DeOldify).

 Table of Contents

- About DeOldify
- Example Videos
- Example Images
- Stuff That Should Probably Be In A Paper
  - How to Achieve Stable Video
  - What is NoGAN?
- Why Three Models?
- Technical Details
- Going Forward
- Getting Started Yourself
  - Easiest Approach
  - Your Own Machine
- Pretrained Weights

 About DeOldify

Simply put, the mission of this project is to colorize and restore old images and
film footage. We'll get into the details in a bit, but first let's see some
pretty pictures and videos!

 New and Exciting Stuff in DeOldify

- Glitches and artifacts are almost entirely eliminated
- Better skin (less zombies)
- More highly detailed and photorealistic renders
- Much less "blue bias"
- Video - it actually looks good!  
- NoGAN - a new and weird but highly effective way to do GAN training for
  image to image.

 Example Videos

Note:  Click images to watch

 Facebook F8 Demo



 Silent Movie Examples



 Example Images

"Migrant Mother" by Dorothea Lange (1936)

!Migrant Mother

Woman relaxing in her livingroom in Sweden (1920)

!Sweden Living Room

"Toffs and Toughs" by Jimmy Sime (1937)

!Class Divide

Thanksgiving Maskers (1911)

!Thanksgiving Maskers

Glen Echo Madame Careta Gypsy Camp in Maryland (1925)

!Gypsy Camp

"Mr. and Mrs. Lemuel Smith and their younger children in their farm house,
Carroll County, Georgia." (1941)

!Georgia Farmhouse

"Building the Golden Gate Bridge" (est 19

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON