Skip to content

Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.

License

Notifications You must be signed in to change notification settings

thekevinscott/UpscalerJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Kevin Scott
Mar 15, 2021
f626bb7 · Mar 15, 2021
Mar 1, 2021
Aug 31, 2020
Aug 15, 2020
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Jul 29, 2020
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Jul 30, 2020
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021

Repository files navigation

UpscalerJS

NPM npm Travis Codecov Github issues DeepSource

UpscalerJS is a tool for increasing image resolution in Javascript via a Neural Network up to 4x.

Demo

A live demo is here.

Examples

You can view runnable code examples on CodeSandbox.

Quick Start

import Upscaler from 'upscaler';
const upscaler = new Upscaler();
upscaler.upscale('/path/to/image').then(upscaledImage => {
  console.log(upscaledImage); // base64 representation of image src
});

Models

Pre-trained models live in this repo.

All models are trained using image-super-resolution, an implementation of ESRGAN by @idealo.

Documentation

View the docs here.

License

MIT License © Kevin Scott