UpscalerJS is a tool for increasing image resolution in Javascript via a Neural Network up to 4x.
You can view runnable code examples on CodeSandbox.
import Upscaler from 'upscaler';
const upscaler = new Upscaler();
upscaler.upscale('/path/to/image').then(upscaledImage => {
console.log(upscaledImage); // base64 representation of image src
});
Pre-trained models live in this repo.
All models are trained using image-super-resolution
, an implementation of ESRGAN by @idealo.