Home / Tools / GFPGAN

GFPGAN

Open-source AI that restores old, blurry and damaged face photos.

Visit GFPGAN
GFPGAN preview
github.com Open Source

Upvotes

0

Pricing

Open Source

Category

Image Tools

In the database since

Oct 2026

Overview

About GFPGAN

GFPGAN is an open-source AI project that restores old, blurry, and damaged face photos. It was built by Tencent ARC, the applied research arm of Tencent, and presented at CVPR 2021. The tool rebuilds missing facial detail using knowledge learned from thousands of high-quality faces. It works on faded family portraits, low-resolution snapshots, and compressed profile pictures. Anyone can download the code and model weights for free. For step-by-step setup guides and ready-to-use demo links, check the official GitHub page.

Key Features

1. Blind Face Restoration

GFPGAN restores faces without knowing what damaged them. Blur, noise, compression, and low resolution are handled in one pass.

2. Pretrained Face GAN Priors

The model borrows knowledge from StyleGAN2, a face generator trained on huge photo collections. This helps it rebuild realistic eyes, skin, and hair.

3. Multiple Model Versions

Version 1.3 gives natural results on very low-quality inputs, while version 1.4 keeps more detail and identity. Users can pick the one that fits.

4. Background Enhancement

GFPGAN focuses on faces, but it can pair with Real-ESRGAN to sharpen the rest of the photo. The full image comes out cleaner.

5. CPU and Windows Support

A clean build runs without special GPU extensions, so it works on Windows and on CPU-only machines. Processing is slower but usable.

6. Free Online Demos

People who cannot install code can try ready-made demos on Hugging Face and Google Colab. They upload a photo and get a restored result.

7. RestoreFormer Support

The repo also includes inference code for RestoreFormer, a related face-restoration model. Users get two restoration options in one place.

FAQ

What kinds of photos can GFPGAN fix?

Faded family portraits, old scanned photos, and low-resolution snapshots are the best fit. Results are best when the faces in the photo are clear enough to detect.

How does GFPGAN work?

It uses a GAN, a type of AI that learns to create realistic images, combined with knowledge from a pretrained face generator. The AI guesses what the damaged face should look like and rebuilds it.

Do I need coding skills to use GFPGAN?

Yes, for the local version. You need Python and PyTorch installed. If you cannot code, the Hugging Face and Colab demos need no setup.

What is the difference between GFPGAN and Real-ESRGAN?

GFPGAN specializes in faces and rebuilds facial detail. Real-ESRGAN handles general photos and backgrounds. Many people use both together.

Can I use GFPGAN for commercial projects?

The code is open-source, but read the license file in the repo first. Research models sometimes carry usage restrictions.

Conclusion

GFPGAN is an open-source AI restorer for damaged face photos. It suits developers, researchers, and archivists who want full control and no fees. The code and model weights are free to download, though you need your own computer to run them. Casual users can try the ready-made online demos on the web instead of installing anything.

Newsletter

Tools like this change fast

New Image Tools tools launch every week — the newsletter keeps you ahead of what's worth trying.

Keep exploring

Similar AI tools

Ranked by the job they do, their capabilities, and how closely they fit this workflow.