Skip to content
RepoQuarry
Weekly email Suggest a project

Instead of Topaz Gigapixel

CodeFormer

Face restoration model from NTU S-Lab with a fidelity slider, video input and face colorization; non-commercial licence.

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

Face restoration, Non-commercial only, Source-available, Runs AI locally, CLI, Python

CodeFormer restores blurry or damaged faces, with a weight (-w) that trades fidelity against quality, plus optional Real-ESRGAN background and face upscaling, video input, and colorization and inpainting for cropped faces. It is a Python research project (conda, PyTorch, CUDA). Code and weights are under the NTU S-Lab License 1.0, which allows non-commercial use only, so it cannot replace a paid tool for client work. It does not upscale general photos on its own. Last commit Nov 2025; weights released Aug 2022.

The facts

QuestionAnswerSourceChecked
Runs on my machine? Yes. Python scripts on your machine github.com Checked 7 weeks ago
Code licence Not open source. NTU S-Lab License 1.0 (non-commercial) github.com Checked 5 weeks ago
Model weights licence Not open. Weights fall under the same S-Lab non-commercial licence github.com Checked 5 weeks ago
Commercial use No. Non-commercial licence for code and weights github.com Checked 5 weeks ago
Paid services needed? None required github.com Checked 7 weeks ago
Hardware PyTorch 1.7.1+ with CUDA 10.1+; VRAM not stated github.com Checked 7 weeks ago
Operating systems Not stated; the README has a note for Windows/Mac users (ffmpeg for video) github.com Checked 7 weeks ago
Setup effort Medium, conda environment, pip requirements, download weights with a script 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 CodeFormer 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. Strong face recovery for personal use only; whole-image upscaling relies on Real-ESRGAN. Command line, non-commercial.

Stars over time

Steady +15 stars this week (1.0× its usual pace). Stars show attention, not quality. Where these numbers come from.

  • CodeFormer
18,27517,916 2025-12-012026-12-01 Tracked daily begins 2026-10-16CodeFormer, 2025-12-01: 17,949 stars, estimated from public star recordsCodeFormer, 2025-12-08: 17,956 stars, estimated from public star recordsCodeFormer, 2025-12-15: 17,966 stars, estimated from public star recordsCodeFormer, 2025-12-22: 17,969 stars, estimated from public star recordsCodeFormer, 2025-12-29: 17,981 stars, estimated from public star recordsCodeFormer, 2026-01-05: 17,985 stars, estimated from public star recordsCodeFormer, 2026-01-12: 17,992 stars, estimated from public star recordsCodeFormer, 2026-01-19: 17,995 stars, estimated from public star recordsCodeFormer, 2026-01-26: 18,002 stars, estimated from public star recordsCodeFormer, 2026-02-02: 18,011 stars, estimated from public star recordsCodeFormer, 2026-02-09: 18,016 stars, estimated from public star recordsCodeFormer, 2026-02-16: 18,024 stars, estimated from public star recordsCodeFormer, 2026-02-23: 18,029 stars, estimated from public star recordsCodeFormer, 2026-03-02: 18,036 stars, estimated from public star recordsCodeFormer, 2026-03-09: 18,039 stars, estimated from public star recordsCodeFormer, 2026-03-16: 18,043 stars, estimated from public star recordsCodeFormer, 2026-03-30: 18,048 stars, estimated from public star recordsCodeFormer, 2026-04-06: 18,051 stars, estimated from public star recordsCodeFormer, 2026-04-13: 18,056 stars, estimated from public star recordsCodeFormer, 2026-04-20: 18,062 stars, estimated from public star recordsCodeFormer, 2026-04-27: 18,064 stars, estimated from public star recordsCodeFormer, 2026-05-04: 18,067 stars, estimated from public star recordsCodeFormer, 2026-05-18: 18,068 stars, estimated from public star recordsCodeFormer, 2026-05-25: 18,069 stars, estimated from public star recordsCodeFormer, 2026-06-29: 18,070 stars, estimated from public star recordsCodeFormer, 2026-08-31: 18,082 stars, estimated from public star recordsCodeFormer, 2026-09-07: 18,097 stars, estimated from public star recordsCodeFormer, 2026-09-14: 18,112 stars, estimated from public star recordsCodeFormer, 2026-09-21: 18,138 stars, estimated from public star recordsCodeFormer, 2026-09-28: 18,149 stars, estimated from public star recordsCodeFormer, 2026-10-05: 18,157 stars, estimated from public star recordsCodeFormer, 2026-10-12: 18,184 stars, estimated from public star recordsCodeFormer, 2026-10-16: 18,180 stars, trackedCodeFormer, 2026-10-17: 18,182 stars, trackedCodeFormer, 2026-10-18: 18,183 stars, trackedCodeFormer, 2026-10-19: 18,184 stars, trackedCodeFormer, 2026-10-20: 18,186 stars, trackedCodeFormer, 2026-10-21: 18,184 stars, trackedCodeFormer, 2026-10-22: 18,186 stars, trackedCodeFormer, 2026-10-23: 18,189 stars, trackedCodeFormer, 2026-10-24: 18,192 stars, trackedCodeFormer, 2026-10-25: 18,194 stars, trackedCodeFormer, 2026-10-26: 18,195 stars, trackedCodeFormer, 2026-10-27: 18,199 stars, trackedCodeFormer, 2026-10-28: 18,200 stars, trackedCodeFormer, 2026-10-29: 18,200 stars, trackedCodeFormer, 2026-10-30: 18,200 stars, trackedCodeFormer, 2026-10-31: 18,202 stars, trackedCodeFormer, 2026-11-01: 18,202 stars, trackedCodeFormer, 2026-11-02: 18,202 stars, trackedCodeFormer, 2026-11-03: 18,209 stars, trackedCodeFormer, 2026-11-04: 18,209 stars, trackedCodeFormer, 2026-11-05: 18,210 stars, trackedCodeFormer, 2026-11-06: 18,209 stars, trackedCodeFormer, 2026-11-07: 18,211 stars, trackedCodeFormer, 2026-11-08: 18,215 stars, trackedCodeFormer, 2026-11-09: 18,218 stars, trackedCodeFormer, 2026-11-10: 18,220 stars, trackedCodeFormer, 2026-11-11: 18,222 stars, trackedCodeFormer, 2026-11-12: 18,228 stars, trackedCodeFormer, 2026-11-13: 18,226 stars, trackedCodeFormer, 2026-11-14: 18,228 stars, trackedCodeFormer, 2026-11-15: 18,230 stars, trackedCodeFormer, 2026-11-16: 18,234 stars, trackedCodeFormer, 2026-11-17: 18,246 stars, trackedCodeFormer, 2026-11-18: 18,247 stars, trackedCodeFormer, 2026-11-19: 18,253 stars, trackedCodeFormer, 2026-11-20: 18,254 stars, trackedCodeFormer, 2026-11-21: 18,254 stars, trackedCodeFormer, 2026-11-22: 18,256 stars, trackedCodeFormer, 2026-11-23: 18,258 stars, trackedCodeFormer, 2026-11-24: 18,259 stars, trackedCodeFormer, 2026-11-25: 18,262 stars, trackedCodeFormer, 2026-11-26: 18,262 stars, trackedCodeFormer, 2026-11-27: 18,266 stars, trackedCodeFormer, 2026-11-28: 18,268 stars, trackedCodeFormer, 2026-11-29: 18,272 stars, trackedCodeFormer, 2026-11-30: 18,275 stars, trackedCodeFormer, 2026-12-01: 18,274 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