• Stars
    star
    588
  • Rank 76,022 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Image Upscaling in Javascript. Increase image resolution up to 4x using Tensorflow.js.

UpscalerJS

NPM npm Tests Codecov DeepSource

UpscalerJS is a tool for enhancing images in Javascript using Neural Networks. UpscalerJS features models enabling the following:

  • Super Resolution
  • Deblurring
  • Denoising
  • Deraining
  • Dehazing
  • Low Light Enhancement
  • Retouching
  • Inpainting (soon!)

Demo

A live demo is here.

Announcement

A beta version of 1.0.0 was released on 7/15/22. Learn more here about what's included.

If you are migrating from <=0.12, and you are using a custom model, you will need to modify how you load models. If you are using the default model (e.g., not providing a model argument) then no changes are needed.

Guides

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

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.

Developing

If cloning the repo, ensure that dvc is installed. dvc is used to manage the model files and has git pre-hooks enabled.

License

MIT License © Kevin Scott

More Repositories

1

ml-classifier-ui

A UI tool for quickly training image classifiers in the browser
TypeScript
237
star
2

ml-classifier

A tool for quickly training image classifiers in the browser
JavaScript
108
star
3

emoji-tree

JavaScript
47
star
4

dataset-tutorial-for-image-classification

A tutorial on organizing datasets for image classification
HTML
14
star
5

UpscalerJS-models

Pretrained Models for use with UpscalerJS
6
star
6

neural-network-visualizer

A React component for visualizations of Neural Networks
TypeScript
5
star
7

getting-started-with-facebook-bots

A starter repository to accompany a Medium post on making a bot
JavaScript
4
star
8

testing-file-upload

JavaScript
4
star
9

vicuna-7b

Vicuna 7B is a large language model that runs in the browser. Exposes programmatic access with minimal configuration.
JavaScript
4
star
10

i18n-research

i18n research for a javascript app
JavaScript
3
star
11

gatsby-remark-vega

A Gatsby plugin for displaying Vega charts
JavaScript
3
star
12

react-earth

An Earth visualization in React
JavaScript
3
star
13

Uploadify-Fork

A Fork of the great uploadify
JavaScript
3
star
14

emojiExists

A function to check whether a string contains all emoji or not
JavaScript
3
star
15

Svpply-Nav

Svpply Nav
JavaScript
2
star
16

image-labeler

Autosuggested labels for images and video
TypeScript
2
star
17

how-neural-nets-work

A visualization of how neural nets work
JavaScript
2
star
18

AudioData

Python
1
star
19

emojisalad

Making enemies out of friends, and friends out of enemies
JavaScript
1
star
20

tensorflow.js-mnist-webworkers

A port of the Tensorflow.js MNIST example using Web Workers
JavaScript
1
star
21

Tuneful

tuneful
JavaScript
1
star
22

pixelated-canvas

TypeScript
1
star
23

Botworkz

A tool for project tracking
Ruby
1
star
24

tensorflow.js-mnist-react

A port of the Tensorflow.js MNIST example in React
JavaScript
1
star
25

Tweeny

Basic Framework for Social-y sites
PHP
1
star
26

Cities

JavaScript
1
star
27

space-invaders

JavaScript
1
star
28

tensor-visualizer

TypeScript
1
star
29

mocha-phantom-reporter

A third party reporter for Mocha, running on Phantom
JavaScript
1
star
30

stackoverflow-question-scraper

A google spreadsheet script to pull metadata from stack overflow questions
JavaScript
1
star
31

Library-Booker

JavaScript
1
star