Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 759 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 759 Bytes

CodeFormer

Towards Robust Blind Face Restoration with Codebook Lookup TransFormer, based on https://github.com/sczhou/CodeFormer.

Dependencies

Dlib is only required when using detector=1. Windows users can download the Python wheel file on Releases.

Installation

pip install -U vscodeformer
python -m vscodeformer

Usage

from vscodeformer import codeformer

ret = codeformer(clip)

See __init__.py for the description of the parameters.