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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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

2026-07-02