| sd_upscale_image | R Documentation |
Upscale an image using ESRGAN
sd_upscale_image(esrgan_path, image, upscale_factor = 4L, n_threads = 0L)
esrgan_path |
Path to ESRGAN model file |
image |
SD image to upscale (list with width, height, channel, data) |
upscale_factor |
Upscale factor (default 4) |
n_threads |
Number of CPU threads (0 = auto-detect) |
Upscaled SD image
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.