Recover high-quality faces from degraded counterparts with CodeFormer: a command-line software for blind face restoration. Enhance your images now!0
Visit website

What is CodeFormer?

CodeFormer, a groundbreaking Transformer-based solution developed by S-Lab at Nanyang Technological University, revolutionizing blind face restoration. This innovative approach addresses the complexities of restoring degraded face images without explicit guidance, by employing a learned discrete codebook to predict restoration codes and a controllable feature transformation module. The result? Enhanced image quality and remarkable fidelity, even under severe degradation, surpassing current state-of-the-art methods.

Key Features:

  1. 📚 Discrete Codebook Prior: A carefully learned codebook serves as a rich repository of visual elements, reducing restoration ambiguity and enhancing output quality.

  2. 🌟 Codebook Lookup TransFormer: A Transformer network that analyzes low-quality inputs globally, predicting code sequences for restored faces with remarkable precision.

  3. 🔀 Controllable Feature Transformation: An adaptive module allowing a fine-tuned balance between image quality and faithfulness to the original, adjustable through a single scalar weight.

Use Cases:

  1. Historical Photo Restoration: Reviving old, damaged portraits with remarkable clarity while preserving historical authenticity.

  2. Surveillance Enhancement: Improving the clarity of grainy, low-resolution CCTV footage for facial recognition and investigation purposes.

  3. Social Media Enhancement: Elevating the visual quality of selfies and profile pictures shared on social media platforms, ensuring a polished appearance.


CodeFormer stands at the forefront of blind face restoration, offering a robust and adaptable solution that balances restoration quality and fidelity masterfully. Its unique combination of codebook-driven prediction and Transformer-based global comprehension paves the way for unprecedented results in enhancing facial images. Experience the future of image restoration today by exploring CodeFormer's capabilities—witness firsthand the transformation of degraded visuals into near-perfect replicas, bridging the gap between past and present with a single click. Don't just imagine the possibilities; visit our GitHub repository and try it out for yourself, and if you find our work impactful, consider citing our NeurIPS publication in your research.

More information on CodeFormer

Pricing Model
Starting Price
Global Rank
Month Visit
Tech used
Amazon AWS CloudFront,cdnjs,Google Fonts,KaTeX,Gzip,OpenGraph,RSS,Stripe
CodeFormer was manually vetted by our editorial team and was first featured on September 4th 2024.
Aitoolnet Featured banner

CodeFormer Alternatives

Load more Alternatives
  1. Restoring old photos using AI for everyone.Have old and blurry face photos? Let our AI restore them so those memories can live on. 100% free – restore your photos today.

  2. Generated Photos is an AI face generator that allows users to create a unique person with a few simple parameters

  3. DeepFaceLive provides real-time face swap for PC streaming or video calls. Swap your face from a webcam or the face in the video using trained face models.

  4. Fakeface is an AI-powered online tool that empowers you to create your personalized face swap videos, photos, and GIFs with ease, speed, and top-notch quality.

  5. Discover Faceswap, a free, open-source deepfake software. Run on Windows, macOS, or Linux with Tensorflow, Keras, and Python. Join the active community now!