Skip to content

thekevinscott/UpscalerJS

Repository files navigation

UpscalerJS

Latest UpscalerJS NPM Version License for UpscalerJS Downloads per week on NPM for UpscalerJS Status of tests for UpscalerJS repository Code Coverage for UpscalerJS DeepSource issues for UpscalerJS

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

  • 🎁 Pretrained Models: Enhance images using UpscalerJS's diverse pretrained models, designed to suit various image styles and requirements including increasing image resolution, denoising, deblurring, and more.
  • 🔌 Seamless Platform Integration: Integrate UpscalerJS across Browser, Node (CPU and GPU), and Workers environments.
  • 📘 Comprehensive Documentation: Leverage UpscalerJS confidently with extensive documentation, thorough examples, and TypeScript support.
  • 🚀 UI-Focused Enhancement: Performant UI support with built-in patch-based processing that supports performance without sacrificing quality.
  • 📱 Device Compatibility: Consistent image enhancement across a variety of devices, including desktops, tablets, and phones.
  • 🧩 Custom Model Integration: Extend UpscalerJS by integrating your own pretrained models for personalized image enhancements.

Demo

A live demo is here.

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
});

Documentation

View the docs here.

Guides

You can view runnable code examples. You can also find the guides here on Github.

Support the Project

Add a ⭐️ star on GitHub or ❤️ tweet to support the project!

License

MIT License © Kevin Scott