Coloring frames is a technique that dates back to the early 18th century. The great French filmmaker Georges Méliès colored his films by hand, frame by frame. But today, artificial intelligence and deep learning offer a technology that reduces the work by automating the image coloring process. That's what DeOldify is about: a program that colors black and white photos thanks to artificial intelligence.
The concept of deep learning consists of combining programs and hardware so that, through algorithms, you can achieve a solution to a complicated task. In simpler words, it would be: “Practice makes perfect”. This combination of technologies demands a large number of learning hours, but once you discover the optimal work strategy, everything becomes automated and you will begin to color old photographs easily. An example of the use of deep learning in the coloring of photographic material is the following.
https://old.neoteo.com/un-viaje-por-new-york-en-1911-a-color-y-en-4k/How to Color Photographs with DeOldify
If you want to do the same with photographs, the platform we will use is called DeOldify, and it is available on GitHub with an MIT license. But now you might be asking yourself - Do I solve this with a GAN platform? And the answer is – Yes. But the developer of DeOldify named his algorithm NoGAN, because DeOldify is totally different from the other programs you will find on the Internet.
Once DeOldify is installed, the utility translates a black and white image from its grayscale and then, in an automated way, adds color. As you can see in the examples, the final result is very good.
The tutorial video we share with you shows you the seven steps you need to color a black and white image from its Web code. In the final module “Colorize!!”, you will have to enter the URL of the image, determine the “Render_factor” and click on the “Play” icon to obtain the colored image.
Image Colorization API
We want to focus on the Web tool offered by the developer, called Image Colorization API. From the Web environment, generating the code is much easier. You simply have to upload a file or copy the URL of the image to the platform, and click on “API Docs” to get the results (the code) in seconds.
Color Video
You can use the same technique to color and stabilize videos shot in black and white. You can upload your videos hosted locally or copy the URL of the clip and wait for the platform to do its work.
The method DeOldify offers for coloring black and white photographs is very easy. Although the manipulation of its code on GitHub is a bit complicated, you can always use its Web platform to have the utility create the code for you, and then copy it to the platform.
https://old.neoteo.com/como-colorear-fotografias-en-blanco-y-negro/