LibreAI / Imagem / CodeFormer
// image · sczhou/CodeFormer

CodeFormer

CodeFormer é um projeto de imagem de código aberto de sczhou (sczhou/CodeFormer no GitHub). Tem 18.171 estrelas no GitHub e 3.725 forks, é publicado sob a licença Custom (check repo) e foi atualizado pela última vez no GitHub em 18 de novembro de 2025.

[NeurIPS 2022] Towards Robust Blind Face Restoration with Codebook Lookup Transformer

★ 18,2 mil estrelas⑂ 3,7 mil forksCustom (check repo)atualizado nov 2025
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
sczhou/CodeFormer
Estrelas no GitHub
18.171
Forks
3.725
Licença
Custom (check repo)
Última atualização no GitHub
18 de novembro de 2025
Categoria
Imagem
Tipo de ficha
Guia de instalação completo
Site oficial
Read the docs
// como funciona

Como funciona

  1. Choose the right tool

    Generation studio, upscaler, background remover, or photo library — match the tool to the task.

  2. Install it your way

    Desktop apps, Docker images, and portable builds cover most platforms; pick the simplest for your OS.

  3. Add models if needed

    Generation tools need checkpoint files; utilities like upscalers usually bundle everything.

  4. Create or organize

    Generate, enhance, or import — then export, share, or keep building your library.

// recursos

Por que as pessoas gostam tanto

No subscriptions

The defining trait of this whole category: professional results without monthly fees.

Runs locally

Your images stay on your machine — important for client work and privacy.

Model freedom

Bring any compatible open checkpoint; you are never locked to one vendor's style.

Purpose-built utilities

Single-job tools (upscale, de-background, restore) that do one thing excellently.

Smart photo libraries

Self-hosted managers with AI tagging, face recognition, and deduplication.

Extensible ecosystems

Extensions, scripts, and community presets extend the popular studios far beyond stock.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/sczhou/CodeFormer.git
    cd CodeFormer
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// casos de uso

O que você pode criar

Blind face restoration is a specialised corner of image-to-image translation, the field opened up by the original pix2pix and CycleGAN implementation — the codebase a generation of translation and restoration projects learned from.

Advertisement
// perguntas frequentes

Perguntas frequentes

Which should I start with?

For generation: a polished studio interface. For enhancement: a dedicated upscaler. For libraries: a photo manager. The guides above narrow it down.

Do I need a powerful GPU?

Generation benefits hugely from one; upscalers and photo managers are far lighter.

Who maintains CodeFormer?

It is an open-source project at sczhou/CodeFormer with 3,725 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Are they free for commercial work?

Mostly yes under MIT/Apache/GPL — but verify each license, especially for client deliverables.

Can they match Midjourney quality?

With the right open checkpoints, absolutely — the interface matters less than the model you load.

Where do models come from?

Community hubs like CivitAI and Hugging Face host thousands of open checkpoints.

// continue explorando

Ferramentas semelhantes

Imagem

Insightface

State-of-the-art 2D and 3D Face Analysis Project

★ 29,9 mil estrelasCustom (check repo)
Ver o guia →
Imagem

Fooocus

Focus on prompting and generating

★ 53,3 mil estrelasGPL-3.0
Ver o guia →
Imagem

Real-ESRGAN

Real-ESRGAN — practical blind super-resolution for real-world photos and video: restores and upscales degraded images with models trained on pure synthetic data, BSD-3-Clause

★ 37,1 mil estrelasBSD-3-Clause
Ver o guia →
Imagem

mmagic

MMagic — OpenMMLab's generative-AI toolbox: diffusion, text-to-image, restoration and a model zoo.

★ 7,5 mil estrelasApache-2.0
Ver o guia →
Imagem

MirrorMetrics

Visual diagnostics for LoRA training — spot overfitting with face biometrics

★ 62 estrelasMIT
Ver o guia →
// alternativas

Alternativas em Imagem

Os outros projetos de Imagem com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se CodeFormer não for o ideal para você.

// mais em image

Mais em Imagem

Projetos de Imagem próximos no catálogo, os mais próximos em estrelas de CodeFormer: continue explorando dos dois lados dele.

Baixe o CodeFormer

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.