CodeFormer is a face restoration project based on the NeurIPS 2022 paper “Towards Robust Blind Face Restoration with Codebook Lookup Transformer.” It is designed to improve degraded, old, low-quality, or AI-generated face images without requiring a clean reference image. The model uses a codebook lookup transformer approach to balance perceptual quality and identity fidelity through a configurable fidelity weight. It supports cropped face restoration, whole-image enhancement, video enhancement, face colorization, and face inpainting. The repository provides pretrained model download scripts, inference commands, training code, and configuration files. It is useful for research, restoration workflows, creative tooling, and applications that need robust face recovery from poor visual inputs.

Features

  • Blind face restoration
  • Codebook lookup transformer model
  • Adjustable fidelity weight
  • Whole-image and video enhancement
  • Face colorization support
  • Face inpainting support

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow CodeFormer

CodeFormer Web Site

Other Useful Business Software
Host LLMs in Production With On-Demand GPUs Icon
Host LLMs in Production With On-Demand GPUs

NVIDIA L4 GPUs. 5-second cold starts. Scale to zero when idle.

Deploy your model, get an endpoint, pay only for compute time. No GPU provisioning or infrastructure management required.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CodeFormer!

Additional Project Details

Operating Systems

Windows

Programming Language

Python

Related Categories

Python AI Models

Registered

23 hours ago