Metadata-Version: 2.4
Name: codeformer-cr
Version: 0.0.2
Summary: PyTorch implementation of CodeFormer
Home-page: https://github.com/classronin/codeformer-cr
Author: classronin
License: S-Lab
Keywords: pytorch,codeformer,face,face-swap,face-swapping,face-swap-pytorch,face-swapping-pytorch
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: addict
Requires-Dist: future
Requires-Dist: lmdb
Requires-Dist: numpy
Requires-Dist: opencv-python
Requires-Dist: Pillow
Requires-Dist: pyyaml
Requires-Dist: requests
Requires-Dist: scikit-image
Requires-Dist: scipy
Requires-Dist: tb-nightly
Requires-Dist: torch>=1.7.1
Requires-Dist: torchvision
Requires-Dist: tqdm
Requires-Dist: yapf
Requires-Dist: lpips
Requires-Dist: gdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# CodeFormer-CR

一个简化的 [CodeFormer](https://github.com/sczhou/CodeFormer) 命令行工具，用于图像增强和人脸修复。

该存储库来自 [codeformer-pip](https://github.com/kadirnar/codeformer-pip) ，并在其基础上进行了修改和优化。

## 安装
```bash
pip install codeformer-cr
```

## 简易命令
```bash
cr            # 当前目录修复所有图像，输出与当前目录一致
cr -i input   # 指定图像或目录修复所有图像，输出与输入目录一致
cr -h         # 显示参数信息
```


## Citation 
```bash
@inproceedings{zhou2022codeformer,
    author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
    title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
    booktitle = {NeurIPS},
    year = {2022}
}
```

License
This project is licensed under NTU S-Lab License 1.0. Redistribution and use should follow this license.




