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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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

6 days ago