LibreAI / Image / CodeFormer
// image · sczhou/CodeFormer

CodeFormer

CodeFormer est un projet de image open source, créé par sczhou (sczhou/CodeFormer sur GitHub). Il compte 18 171 étoiles sur GitHub et 3 725 forks, il est publié sous la licence Custom (check repo) et a été mis à jour pour la dernière fois sur GitHub le 18 novembre 2025.

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

★ 18,2 k étoiles⑂ 3,7 k forksCustom (check repo)mis à jour nov. 2025
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
18 171
Forks
3 725
Licence
Custom (check repo)
Dernière mise à jour sur GitHub
18 novembre 2025
Catégorie
Image
Type de fiche
Guide d'installation complet
Site officiel
Read the docs
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

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
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Image

Insightface

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

★ 29,9 k étoilesCustom (check repo)
Voir le guide →
Image

Fooocus

Focus on prompting and generating

★ 53,3 k étoilesGPL-3.0
Voir le guide →
Image

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 k étoilesBSD-3-Clause
Voir le guide →
Image

mmagic

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

★ 7,5 k étoilesApache-2.0
Voir le guide →
Image

MirrorMetrics

Visual diagnostics for LoRA training — spot overfitting with face biometrics

★ 62 étoilesMIT
Voir le guide →
// alternatives

Alternatives en Image

Les autres projets de la catégorie Image avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si CodeFormer ne vous convient pas.

// plus en image

Plus en Image

Projets de la catégorie Image proches dans le catalogue, les plus proches en étoiles de CodeFormer — continuez à explorer de part et d'autre.

Obtenir CodeFormer

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.