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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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

2 days ago