ZME Science
No Result
View All Result
ZME Science
No Result
View All Result
ZME Science

Home → Science → News

This free AI tool restores old and deteriorated photos in an instant

Time to dust off those old family photos in the attic.

Tibi PuiubyTibi Puiu
August 3, 2022
in Future, News
A A
Share on FacebookShare on TwitterSubmit to Reddit
Credit: Xintao Wang et al.

Before the age of smartphones or even digital photography, people used to immortalize moments the old fashion way: on film. The problem is that all physical things naturally decay, and the older the photo, the higher the odds that it is cracked, torn, or damaged in some other way. Some people might enjoy this kind of retro aesthetic, but when the deterioration is extensive it can be distressing to family members who only have a few old photos of their passed loved ones or distant ancestors they’ve never met.

A new powerful AI tool made by Chinese scientists is here to help though. The remarkable computer program uses a neural network called Generative Facial Prior-Generative Adversarial Network, or GFP-GAN for short, that removes wrinkles, spots, grains, and other telltale signs of weathering from old photos, restoring them into as sharp a version as if they were brand new. Remarkably, the results look amazing even if all you have is a low-resolution image. Here’s how it all works.

Credit: Xintao Wang et al.

Generative adversarial networks (GANs) are algorithmic architectures that use two neural networks — the generative model that is trained to generate new examples, and the adversarial model that classifies the examples as either ‘fake’ or ‘real’ — pitting one against the other in order to generate synthetic instances of data that can pass for real data. 

Modeling through GANs is fantastic for automating the discovery and learning of patterns in input data in order to generate an output that is almost indistinguishable from the original.

As a GAN, this means that the restored images generated by the new AI do not represent the actual, original image. Instead, all the elements that are added to replace visible signs of degradation and sharpen the original image are model guesses, adding pixels that were never there. The obvious downside is that this means there’s a risk that the restored portrait no longer depicts the person in the original photos, and this was often indeed the case with older GANs for image generation. The new GFP-GAN, however, is so good that you won’t probably tell there are actually fake pixels in there, unlike previous alternatives that end up altering the identity of the people in the photos.

How GFP-GAN compares to other image regeneration tools. The differences in terms of fidelity are quite striking. Credit: Credit: Xintao Wang et al.

The new tool uses a pre-trained version of an existing GAN, specifically NVIDIA’s StyleGAN-2, that helps orientate their own GAN model at multiple stages during the encoding process. It’s basically a GAN for a GAN, and the end result is higher fidelity around the eyes and mouth, which are the most important for preserving a person’s likelihood.

However, the altered photos do contain guesswork by the model, so the portraits will have at least a ‘slight change on identity’, the Chinese researchers mention in their paper detailing their work. The blurrier and more damaged the photo, the higher the chance that the introduction of thousands of new pixels could make the portrait look very different from the actual person in the original. The way GANs work right now, there’s nothing we can really do about it, but personally, I think most people won’t mind for most photos.

RelatedPosts

For better or worse, machine learning is shaping biology research
AI reveals new details about Dead Sea Scrolls scribes
Chinese AI outperforms humans in language comprehension test — the first time a machine ever has
Artificial intelligence should be protected by human rights, Oxford mathematician argues

You can play with the tool yourself using the upload function on the AI’s Github page.

Tags: artificial intelligencefacial reconstructionphotographs

ShareTweetShare
Tibi Puiu

Tibi Puiu

Tibi is a science journalist and co-founder of ZME Science. He writes mainly about emerging tech, physics, climate, and space. In his spare time, Tibi likes to make weird music on his computer and groom felines. He has a B.Sc in mechanical engineering and an M.Sc in renewable energy systems.

Related Posts

Future

AI Designs Computer Chips We Can’t Understand — But They Work Really Well

byMihai Andrei
2 weeks ago
A gold winning strawberry
Mathematics

An AI Just Took Gold at the World’s Hardest Math Contest and It Wasn’t Even Trained For It

byMihai Andrei
4 weeks ago
Anthropology

The Woman of Margaux: Reconstructing the Face and Life of a 10,500-Year-Old Hunter-Gatherer

byTudor Tarita
2 months ago
Inventions

China’s New Mosquito Drone Could Probably Slip Through Windows and Spy Undetected

byMihai Andrei
2 months ago

Recent news

The UK Government Says You Should Delete Emails to Save Water. That’s Dumb — and Hypocritical

August 16, 2025

In Denmark, a Vaccine Is Eliminating a Type of Cervical Cancer

August 16, 2025
This Picture of the Week shows a stunning spiral galaxy known as NGC 4945. This little corner of space, near the constellation of Centaurus and over 12 million light-years away, may seem peaceful at first — but NGC 4945 is locked in a violent struggle. At the very centre of nearly every galaxy is a supermassive black hole. Some, like the one at the centre of our own Milky Way, aren’t particularly hungry. But NGC 4945’s supermassive black hole is ravenous, consuming huge amounts of matter — and the MUSE instrument at ESO’s Very Large Telescope (VLT) has caught it playing with its food. This messy eater, contrary to a black hole’s typical all-consuming reputation, is blowing out powerful winds of material. This cone-shaped wind is shown in red in the inset, overlaid on a wider image captured with the MPG/ESO telescope at La Silla. In fact, this wind is moving so fast that it will end up escaping the galaxy altogether, lost to the void of intergalactic space. This is part of a new study that measured how winds move in several nearby galaxies. The MUSE observations show that these incredibly fast winds demonstrate a strange behaviour: they actually speed up far away from the central black hole, accelerating even more on their journey to the galactic outskirts. This process ejects potential star-forming material from a galaxy, suggesting that black holes control the fates of their host galaxies by dampening the stellar birth rate. It also shows that the more powerful black holes impede their own growth by removing the gas and dust they feed on, driving the whole system closer towards a sort of galactic equilibrium. Now, with these new results, we are one step closer to understanding the acceleration mechanism of the winds responsible for shaping the evolution of galaxies, and the history of the universe. Links  Research paper in Nature Astronomy by Marconcini et al. Close-up view of NGC 4945’s nucleus

Astronomers Find ‘Punctum,’ a Bizarre Space Object That Might be Unlike Anything in the Universe

August 15, 2025
  • About
  • Advertise
  • Editorial Policy
  • Privacy Policy and Terms of Use
  • How we review products
  • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.

No Result
View All Result
  • Science News
  • Environment
  • Health
  • Space
  • Future
  • Features
    • Natural Sciences
    • Physics
      • Matter and Energy
      • Quantum Mechanics
      • Thermodynamics
    • Chemistry
      • Periodic Table
      • Applied Chemistry
      • Materials
      • Physical Chemistry
    • Biology
      • Anatomy
      • Biochemistry
      • Ecology
      • Genetics
      • Microbiology
      • Plants and Fungi
    • Geology and Paleontology
      • Planet Earth
      • Earth Dynamics
      • Rocks and Minerals
      • Volcanoes
      • Dinosaurs
      • Fossils
    • Animals
      • Mammals
      • Birds
      • Fish
      • Amphibians
      • Reptiles
      • Invertebrates
      • Pets
      • Conservation
      • Animal facts
    • Climate and Weather
      • Climate change
      • Weather and atmosphere
    • Health
      • Drugs
      • Diseases and Conditions
      • Human Body
      • Mind and Brain
      • Food and Nutrition
      • Wellness
    • History and Humanities
      • Anthropology
      • Archaeology
      • History
      • Economics
      • People
      • Sociology
    • Space & Astronomy
      • The Solar System
      • Sun
      • The Moon
      • Planets
      • Asteroids, meteors & comets
      • Astronomy
      • Astrophysics
      • Cosmology
      • Exoplanets & Alien Life
      • Spaceflight and Exploration
    • Technology
      • Computer Science & IT
      • Engineering
      • Inventions
      • Sustainability
      • Renewable Energy
      • Green Living
    • Culture
    • Resources
  • Videos
  • Reviews
  • About Us
    • About
    • The Team
    • Advertise
    • Contribute
    • Editorial policy
    • Privacy Policy
    • Contact

© 2007-2025 ZME Science - Not exactly rocket science. All Rights Reserved.