es
@upscalerjs/esrgan-slim
npm i @upscalerjs/esrgan-slim
es

@upscalerjs/esrgan-slim

ESRGAN Slim Model for Upscaler.js

by Kevin Scott

1.0.0-beta.8 (see all)License:MITTypeScript:Not Found
npm i @upscalerjs/esrgan-slim
Readme

ESRGAN Slim

ESRGAN Slim is a package of Tensorflow.js models for upscaling images with UpscalerJS.

The model's goal is to minimize latency without compromising quality.

Quick start

Install the package:

npm install @upscalerjs/esrgan-slim

Then, import a specific model and pass it as an argument to an instance of UpscalerJS:

import UpscalerJS from 'upscaler';
import x2 from '@upscalerjs/esrgan-slim/2x';

const upscaler = new UpscalerJS({
  model: x2,
})

Available Models

ESRGAN Slim ships with four models corresponding to the scale of the upscaled image:

  • 2x: @upscalerjs/esrgan-slim/2x
  • 3x: @upscalerjs/esrgan-slim/3x
  • 4x: @upscalerjs/esrgan-slim/4x
  • 8x: @upscalerjs/esrgan-slim/8x (note: the 8x model runs only in Node)

Sample Images

Original

Original image

2x

2x upscaled image

3x

3x upscaled image

4x

4x upscaled image

Documentation

For more documentation, check out the model documentation at upscalerjs.com/models/available/esrgan-slim.

License

MIT License © Kevin Scott

VersionTagPublished
1.0.0-beta.8
latest
20d ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate