Skip to content
RepoQuarry
Weekly email Suggest a project

Instead of Topaz Gigapixel

GFPGAN

Tencent ARC face restoration model that repairs blurry, low-res faces in old photos, with optional Real-ESRGAN background upscaling.

YesRuns on my machine?
With conditionsAllowed at work?
NoDo I have to pay for anything?
MediumSetup

Face restoration, Photo restoration, Runs AI locally, CLI, Python

GFPGAN restores faces in old or low-quality photos using a pretrained StyleGAN2 prior, and can upscale the rest of the image with Real-ESRGAN. It is a Python command-line research project (PyTorch, NVIDIA GPU optional); many GUIs and ComfyUI nodes reuse its weights. The main code is Apache-2.0, but its licence file lists StyleGAN2- and DFDNet-derived parts under non-commercial terms, and the weights have no separate licence. It can shift identity slightly. Mature but inactive: last release v1.3.8 (Sep 2022), last commit Jul 2024.

The facts

QuestionAnswerSourceChecked
Runs on my machine? Yes. Python script on your machine github.com Checked 7 weeks ago
Code licence With conditions. Apache-2.0, except StyleGAN2- and DFDNet-derived parts under non-commercial licences github.com Checked 7 weeks ago
Model weights licence Unknown. Repo LICENSE is Apache-2.0 with third-party exceptions (StyleGAN2-related parts carry extra restrictions); no separate licence for the released .pth checkpoints. Rechecked discussion #616 ("Is commercial use allowed?") and issue #641 (commercial-use request for GFPGANv1.4.pth): still no maintainer answer github.com Checked 3 weeks ago
Commercial use With conditions. Unclear; bundled third-party code includes NVIDIA and DFDNet non-commercial terms github.com Checked 7 weeks ago
Paid services needed? None required github.com Checked 7 weeks ago
Hardware PyTorch; NVIDIA GPU with CUDA optional; the clean version needs no custom CUDA extensions github.com Checked 7 weeks ago
Operating systems Linux listed; Windows and macOS not documented github.com Checked 7 weeks ago
Setup effort Medium, clone repo, pip install basicsr, facexlib and requirements, download weights github.com Checked 7 weeks ago

Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.

No licence changes since we started watching. Licence changes: follow GFPGAN and we email you if its terms change.

What it replaces, job by job

Paid toolJobsHow far it goes
Topaz Gigapixel
  • Photo upscaling up to 16x partly
  • Face recovery on blurry or low-res faces partly
  • Does not do: Recover and redefine low-quality or compressed images
  • Does not do: Upscaling art, CG, text and shapes
  • Does not do: Batch upscaling of many images
  • Does not do: Photoshop and Lightroom plugin
2 of 6 jobs. Face recovery is its main job; background upscaling goes through Real-ESRGAN. Command line only.

Stars over time

Steady +1 star this week (0.1× its usual pace). Stars show attention, not quality. Where these numbers come from.

  • GFPGAN
37,73837,475 2025-12-012026-12-01 Tracked daily begins 2026-10-16GFPGAN, 2025-12-01: 37,499 stars, estimated from public star recordsGFPGAN, 2025-12-08: 37,508 stars, estimated from public star recordsGFPGAN, 2025-12-15: 37,515 stars, estimated from public star recordsGFPGAN, 2025-12-22: 37,525 stars, estimated from public star recordsGFPGAN, 2025-12-29: 37,527 stars, estimated from public star recordsGFPGAN, 2026-01-05: 37,536 stars, estimated from public star recordsGFPGAN, 2026-01-12: 37,543 stars, estimated from public star recordsGFPGAN, 2026-01-19: 37,550 stars, estimated from public star recordsGFPGAN, 2026-01-26: 37,559 stars, estimated from public star recordsGFPGAN, 2026-02-02: 37,564 stars, estimated from public star recordsGFPGAN, 2026-02-09: 37,566 stars, estimated from public star recordsGFPGAN, 2026-02-16: 37,569 stars, estimated from public star recordsGFPGAN, 2026-02-23: 37,570 stars, estimated from public star recordsGFPGAN, 2026-03-02: 37,571 stars, estimated from public star recordsGFPGAN, 2026-03-09: 37,578 stars, estimated from public star recordsGFPGAN, 2026-03-16: 37,581 stars, estimated from public star recordsGFPGAN, 2026-03-23: 37,584 stars, estimated from public star recordsGFPGAN, 2026-03-30: 37,585 stars, estimated from public star recordsGFPGAN, 2026-04-06: 37,589 stars, estimated from public star recordsGFPGAN, 2026-04-13: 37,590 stars, estimated from public star recordsGFPGAN, 2026-04-20: 37,593 stars, estimated from public star recordsGFPGAN, 2026-04-27: 37,594 stars, estimated from public star recordsGFPGAN, 2026-05-04: 37,597 stars, estimated from public star recordsGFPGAN, 2026-05-11: 37,598 stars, estimated from public star recordsGFPGAN, 2026-05-18: 37,599 stars, estimated from public star recordsGFPGAN, 2026-05-25: 37,600 stars, estimated from public star recordsGFPGAN, 2026-06-08: 37,602 stars, estimated from public star recordsGFPGAN, 2026-07-06: 37,603 stars, estimated from public star recordsGFPGAN, 2026-08-31: 37,611 stars, estimated from public star recordsGFPGAN, 2026-09-07: 37,625 stars, estimated from public star recordsGFPGAN, 2026-09-14: 37,639 stars, estimated from public star recordsGFPGAN, 2026-09-21: 37,652 stars, estimated from public star recordsGFPGAN, 2026-09-28: 37,663 stars, estimated from public star recordsGFPGAN, 2026-10-05: 37,681 stars, estimated from public star recordsGFPGAN, 2026-10-12: 37,701 stars, estimated from public star recordsGFPGAN, 2026-10-16: 37,697 stars, trackedGFPGAN, 2026-10-17: 37,696 stars, trackedGFPGAN, 2026-10-18: 37,702 stars, trackedGFPGAN, 2026-10-19: 37,701 stars, trackedGFPGAN, 2026-10-20: 37,700 stars, trackedGFPGAN, 2026-10-21: 37,703 stars, trackedGFPGAN, 2026-10-22: 37,704 stars, trackedGFPGAN, 2026-10-23: 37,702 stars, trackedGFPGAN, 2026-10-24: 37,704 stars, trackedGFPGAN, 2026-10-25: 37,704 stars, trackedGFPGAN, 2026-10-26: 37,704 stars, trackedGFPGAN, 2026-10-27: 37,705 stars, trackedGFPGAN, 2026-10-28: 37,701 stars, trackedGFPGAN, 2026-10-29: 37,702 stars, trackedGFPGAN, 2026-10-30: 37,701 stars, trackedGFPGAN, 2026-10-31: 37,701 stars, trackedGFPGAN, 2026-11-01: 37,698 stars, trackedGFPGAN, 2026-11-02: 37,697 stars, trackedGFPGAN, 2026-11-03: 37,699 stars, trackedGFPGAN, 2026-11-04: 37,702 stars, trackedGFPGAN, 2026-11-05: 37,700 stars, trackedGFPGAN, 2026-11-06: 37,703 stars, trackedGFPGAN, 2026-11-07: 37,699 stars, trackedGFPGAN, 2026-11-08: 37,698 stars, trackedGFPGAN, 2026-11-09: 37,700 stars, trackedGFPGAN, 2026-11-10: 37,703 stars, trackedGFPGAN, 2026-11-11: 37,707 stars, trackedGFPGAN, 2026-11-12: 37,708 stars, trackedGFPGAN, 2026-11-13: 37,703 stars, trackedGFPGAN, 2026-11-14: 37,702 stars, trackedGFPGAN, 2026-11-15: 37,701 stars, trackedGFPGAN, 2026-11-16: 37,703 stars, trackedGFPGAN, 2026-11-17: 37,711 stars, trackedGFPGAN, 2026-11-18: 37,718 stars, trackedGFPGAN, 2026-11-19: 37,722 stars, trackedGFPGAN, 2026-11-20: 37,724 stars, trackedGFPGAN, 2026-11-21: 37,724 stars, trackedGFPGAN, 2026-11-22: 37,723 stars, trackedGFPGAN, 2026-11-23: 37,731 stars, trackedGFPGAN, 2026-11-24: 37,734 stars, trackedGFPGAN, 2026-11-25: 37,733 stars, trackedGFPGAN, 2026-11-26: 37,736 stars, trackedGFPGAN, 2026-11-27: 37,738 stars, trackedGFPGAN, 2026-11-28: 37,738 stars, trackedGFPGAN, 2026-11-29: 37,735 stars, trackedGFPGAN, 2026-11-30: 37,734 stars, trackedGFPGAN, 2026-12-01: 37,735 stars, tracked
Focus a point, use arrow keys, or tap for its value.

Tracked daily since 16 Oct 2026. Dashed history is estimated (how).

Others that do the same job

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on