AI upscale images - Forum

Forum Navigation
You need to log in to create posts and topics.

AI upscale images

Hi..

I have found a real good upscale AI free page that upscale yours images up to 8x with excellent quality. Check it out here. Is really fast two.

https://replicate.com/cjwbw/real-esrgan

 

luishp, Vadim and 4 other users have reacted to this post.
luishpVadimCN_IcemanAnthony LaTorrejavadrajabihakamiPhil78

You can use Real-ESGRAN AI portable to upscale images.

https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan

And a visualneo WIN program using it drag&drop:

https://github.com/emo44/Simple-drag-and-drop-interface-for-Real_ESRGAN-for-windows/releases

Uploaded files:
  • Captura-de-pantalla-2023-09-06-233211.png
luishp, iretz and susan have reacted to this post.
luishpiretzsusan

Hello

Is it possible to have the source code (pub file) from visualneo WIN program ?

Because I need to use it in one of my project.

Thank you

@sakismor

Basically, it's about downloading the executables and models from here:
https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/releases
and in your application, call the executable with the appropriate parameters:

Usage: realesrgan-ncnn-vulkan.exe -i infile -o outfile [options]...

-h show this help"
-i input-path input image path (jpg/png/webp) or directory"
-o output-path output image path (jpg/png/webp) or directory"
-s scale upscale ratio (can be 2, 3, 4. default=4)"
-t tile-size tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu"
-m model-path folder path to the pre-trained models. default=models"
-n model-name model name (default=realesr-animevideov3, can be realesr-animevideov3 | realesrgan-x4plus | realesrgan-x4plus-anime | realesrnet-x4plus)"
-g gpu-id gpu device to use (default=auto) can be 0,1,2 for multi-gpu"
-j load:proc:save thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu"
-x enable tta mode"
-f format output image format (jpg/png/webp, default=ext/png)"
-v verbose output"

In my case, I think I used the following plugin for that application:
dmCMDline 1.4
so, simply with:
dmRun "[CurrentDir]realesrgan-ncnn-vulkan.exe" "-i [#34][ksDropFile0][#34] -o [#34][CurrentDir]upscale_output.png[#34] -s 4" "[log]" "True" "False"
you would get the conversion.

Greetings

luishp has reacted to this post.
luishp