JSPM

super-resolution-scraper

1.0.5
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 7
    • Score
      100M100P100Q50292F
    • License MIT

    A scraper for Super Resolution with torch-srgan AI made for Discord/Whatsapp bot.

    Package Exports

    • super-resolution-scraper
    • super-resolution-scraper/src/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (super-resolution-scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Super Resolution Scraper

    A scraper for Super Resolution image with torch-srgan AI made for Discord/Whatsapp bot.

    npm NPM npm

    Features

    • Upscales image 2x
    • Upscales image 4x

    Instalation

    npm install super-resolution-scraper

    Usage

    There is two function you can use:

    1. srgan2x(url)
    2. 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
    sample_ori upscaled_2x upscaled_4x

    PaypalTrakteer