In most cases, old photos of our ancestors are often in pretty bad shape. Scratches on the paper, high level of noise, poor colors and sharpness. But don’t worry, if you want to see their faces in high quality, this artificial intelligence helps you do it.
Using the power of the GFP-GAN model, the team behind Baseten set up a website where you can erase the passage of time on old photos. So, not only can you scan them and save them on a cloud storage service, but you can also make some edits to them that will improve their quality before you upload them.
This intelligence, in addition to improving sharpness and facial detail, will also enhance the colors of the image. Also, eliminates cracked lines in the paper and other defects common when a photo has passed through many hands over a long period of time.
The results of this artificial intelligence are quite similar to another that we told you about at the time. However, this one made your old photos rock, almost as if it were a video of your ancestors..
How GFP-GAN’s artificial intelligence works to restore old photos
GFP-GAN (Generative Facial Prior) was first reported in a research directed by Xintao Wang, Yu Li, Honglun Zhang and Ting Shan. They propose the GFP-GAN as a new architecture within the GAN model, which would scale the quality of human faces in photos that have been damaged by the passage of time. Combined with the use of other models, it can give surprising results.
This model is capable of repairing damage to an image in seconds. But, How exactly does it achieve this?
First, a convolutional neural network (U-Net) uses the damaged photo to remove degradations. This architecture separates the image into two elements that will allow him to work on it differently. To do this, they use StyleGAN, a network that generates faces with artificial intelligence and who has been associated with the creation of deepfakes.
With StyleGAN, on the other hand, the GFP-GAN can generate a new clean face from the data collected in the image. After going through various filters, layers and parameters that convert the values into vectors, we get a result almost identical to the original photo.
Attention, this model still has flaws. As the artificial intelligence must be able to recognize the face in the image, it may generate a slightly different face if the image is in a very deteriorated state. The problem lies in the model’s inability to recognize certain features, which is perfectly acceptable if they were compromised in the original photo.
How to easily restore your old photos
Now that you know how it works, it’s time to get to work restoring those family photos. In case you don’t have any on hand, the site offers some examples. You can also turn to Google and search for old images, to test the capabilities of this artificial intelligence without much effort.
- Go to the website where the model is published and in use.
- If you want to try out some of the examples available on the site, just scroll down the page. There you will find a collection of images. Tap on one of them and it will automatically be processed.
- If you want to upload your own photo, tap on the section Choose file…right next to blue Restore Photo. Find the image in your storage and then tap the aforementioned button to start the process.
- You now see the original image on the left, and the enhanced version on the right after a few seconds of processing. To download it in full resolution, press the button on the right. Download Restored Image just below the edited version.
- Then right-click on the open image and select Save Image As.
We would like to give thanks to the author of this short article for this amazing material
This artificial intelligence restores old photos with amazing quality
Find here our social media profiles as well as other pages that are related to them.https://yaroos.com/related-pages/