In this tutorial, I'll show you how to transform a black-and-white image into a stunningly realistic color image using a tool called DeOldify. We will go through each step, from setting up the Colab script to tweaking settings for optimal output.
What's impressive about the example image we have is the color detail of the Queen of Spades. For curiosity's sake, we’ll take a color image, convert it to black and white, and then use DeOldify to colorize it back. The results are stunning!
Before we start, let’s appreciate the creators of DeOldify. You can find the link to the description of the video as well as the first link that directs you to the Colab script.
First, run the initial cell to set up DeOldify on your virtual machine. After the setup completes, there will be instructions to follow at the end of the video.
You can provide the black-and-white image in two ways:
Execute the cell after entering the source URL or image path. You will get the colorized version of the image below.
The default render factor is 45, which works well in most cases. However, lower values render faster but with more color inaccuracies. High render factors are better for high-resolution images but may result in slightly washed-out colors. You can experiment with different render factors using the preview cell for all possible values.
This software can be useful for artists, such as creating hyper-realistic portraits and landscapes. Although it’s not perfect, DeOldify does an impressive job at fooling the eyes with vibrant results.
However, there are limitations:
DeOldify initially used Generative Adversarial Networks (GANs), which consist of a generator that creates images from noise and a discriminator that classifies them as real or fake. Later, it switched to self-attention GANs for better continuity and completeness in colorization. Now, it uses non-GAN techniques.
DeOldify doesn’t just work on images but also on videos. Stay tuned for more updates, and don't forget to like, share, and comment to motivate us to make more high-quality videos.
Thank you!
In addition to the incredible tools mentioned above, for those looking to elevate their video creation process even further, Topview.ai stands out as a revolutionary online AI video editor.
TopView.ai provides two powerful tools to help you make ads video in one click.
Materials to Video: you can upload your raw footage or pictures, TopView.ai will edit video based on media you uploaded for you.
Link to Video: you can paste an E-Commerce product link, TopView.ai will generate a video for you.