super-resolution-scraper
v1.0.6
Published
A scraper for Super Resolution with torch-srgan AI made for Discord/Whatsapp bot.
Downloads
35
Maintainers
Readme
Features
- Upscales image 2x
- Upscales image 4x
Instalation
npm install super-resolution-scraper
Usage
There is two function you can use:
srgan2x(url)
srgan4x(url)
Code Example:
const { srgan2x, srgan4x } = require('super-resolution-scraper');
// Upscales 200%
srgan2x(<IMG URL HERE>).then((res) => console.log(res));
// Upscales 400%
srgan4x(<IMG URL HERE>).then((res) => console.log(res));
Sample
for the samples i am using bad resolution meme xD.
| Original | Upscaled 2x | Upscaled 4x | |---|---|---| | | | |