ai image upscaler (enlarge &enhancer) open source
- 저해상도 이미지를 고해상도로 변경해 주는 사진 확대 프로그램
//------------------------------------- 
https://github.com/xinntao/Real-ESRGAN - 19.9k 
    - 2022 
    - 설치 
git clone https://github.com/xinntao/Real-ESRGAN.git
cd Real-ESRGAN 
pip install basicsr facexlib gfpgan 
pip install -r requirements.txt 
python setup.py develop 
    - 모델 종류 
* realesrgan-x4plus (default) 
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P weights 
* realesrnet-x4plus 
* realesrgan-x4plus-anime (optimized for anime images, small model size) 
* realesr-animevideov3 (animation video) 
    - 실행 방법1 : python 
        - 6배크기로 확대 
python inference_realesrgan.py -n RealESRGAN_x4plus -i input.jpg --face_enhance -s 6 
        - 필요한 모델을 자동으로 다운로드, result 폴더에 결과가 저장됨 
//------------------------------------- 
    - 실행 방법2 : 윈도우 실행 파일 다운로드해서 실행 => 에러 
realesrgan-ncnn-vulkan.exe -i input.jpg -o output.png -n realesrgan-x4plus 
        - 에러 발생 
wfopen D:\AI\Upscaler\realesrgan-ncnn-vulkan-20220424-windows\models/realesrnet-x4plus.param failed 
//-------------------------------------
결과물 비교
- Topaz Gigapixel AI 나 Topaz Photo AI 에 비해서 아주 약간 품질이 떨어짐(거의 비슷한 성능)
원본

Real-ESRGAN - 6배

Topaz Gigapixel AI - 6배

//-----------------------------------------------------------------------------
https://github.com/upscayl/upscayl - 12.5k 
    - 2022 
    - 윈도우 파일 다운로드 해서 설치후 실행 
https://github.com/upscayl/upscayl/releases
        - 2배까지 확대 가능 
//-----------------------------------------------------------------------------
< 참고 > 
//------------------------------------- 
Stable Diffusion 용 업스케일러 리스트
https://upscale.wiki/wiki/Model_Database#Image_scaling_and_Video_upscaling
    - 사용법 : *.pth 파일을 다운받아서 models\ESRGAN 폴더로 복사 
//------------------------------------- 
Stable Diffusion x4 upscaler 
https://huggingface.co/stabilityai/stable-diffusion-x4-upscaler
    - python code로 사용, 업스케일시 프롬프트 필요 
https://github.com/xinntao/Real-ESRGAN - 19.9k 
    - 2022 
https://github.com/upscayl/upscayl - 12.5k 
    - 2022 
//------------------------------------- 
https://github.com/bloc97/Anime4K - 16.2k 
    - 2021 
    - 애니 비디오 
https://github.com/nagadomi/waifu2x - 26.1k 
    - 2018 
    - 애니 
https://github.com/k4yt3x/video2x - 6.6k 
    - 2020 
https://github.com/xinntao/ESRGAN - 5k 
    - 2018 
'AI' 카테고리의 다른 글
| SD WebUI ddetailer 로딩 에러 해결 방법 (0) | 2023.05.08 | 
|---|---|
| Stable Diffusion 네거티브 프롬프트 임베딩 리스트 (0) | 2023.05.03 | 
| AI Text to Speech "coqui-ai /TTS" 사용법 (0) | 2023.04.28 | 
| 파이토치(PyTorch) 설치 방법 (Nvidia CUDA용) (0) | 2023.04.01 | 
| (Meta AI) LLaMA 4bit 실행 방법 (0) | 2023.03.22 | 










