sczhou/codeformer

[NeurIPS 2022] Towards Robust Blind Face Restoration with Codebook Lookup Transformer

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 3rd, 2026
Created on June 21st, 2022
Open Issues & Pull Requests: 282 (+0)
GitHub issues: Enabled
Number of forks: 3,716
Total Stargazers: 18,129 (+0)
Total Subscribers: 321 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.7 days
Mean response time: 80.7 days
90th percentile: 315.1 days
Tracked items: 45

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 57
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 743 days
Stale 30+ days: 55
Stale 90+ days: 55

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

CodeFormer is a face restoration tool that uses a codebook lookup transformer architecture to enhance and repair degraded facial images.

The tool addresses the challenge of restoring faces in photographs that are blurry, low-resolution, damaged, or artificially generated without requiring prior knowledge of the specific degradation type. It employs a transformer-based approach with codebook lookup mechanisms, drawing on VQGAN principles to map corrupted facial regions to learned codes that represent high-quality facial features. This allows the model to robustly reconstruct facial details even when the input degradation is unknown or severe.

Developers working on photo restoration, old photograph enhancement, or AI-generated image refinement should consider this tool. It handles video input as well as still images, and includes specialized capabilities for face inpainting and colorization on cropped and aligned faces. The project provides multiple face detector options and makes training code available for those who want to fine-tune models on custom datasets. Online demos are available through several platforms for testing before integration.

The project sustains a substantial user base, with most open issues coming from external adopters rather than the core team, indicating real-world deployment. Response times to issues and pull requests typically range from one to two weeks.