Giter Site home page Giter Site logo

ai-video-super-resolution's Introduction

AI Video Super-Resolution

Upscale video resolution quality with advanced AI algorithms

The process of reconstructing high-resolution video from low-resolution video is called super-resolution reconstruction. Recent state-of-the-art super-resolution methods have achieved impressive performance on ideal datasets. However, these methods always fail in real-world video super-resolution, since most of them ignore the blurring and noise that exists in the real world (such as video compression). Together with scientists from the GluonCV team, we developed a deep learning based super-resolution approach named GDAVSR. This approach can bring better visual quality. Based on this method, we can help customers improve the resolution of videos at a low cost.

homepage

Architecture diagram

architecture diagram

Usage

Prerequisites

  • An AWS account
  • Python installed, such as 3.6
  • Install dependencies of app
  • Build lambda layer
pip install -r requirements.txt
cd layers
chmod +x build_layer.sh
./build_layer.sh
cd ..

CDK Synth & CDK Deploy

cdk synth -c inferentia=true
cdk deploy --parameters MaxvCpus=<max cpu>

MaxvCpus:default: 16

How to use

  1. Upload low-resolution video to S3 bucket('superresolutions*')
  2. call Lambda func SuperResolutionSplitVideo
{
"key": "video_file",
"scale": "4",
"task": "inference"
}
- key: filename in s3 bucket
- scale['2', '4']: Scale for super resolution. Default: 2
- task[inference, debug]: When it is set to debug, the intermediate file will be uploaded to S3 for debugging. Default: inference
- env[onDemand, spot]: which the type of machine to be used. Default: spot
  1. Wait for Batch processing..
  2. Download high-resolution video from S3 bucket('superresolutions*')

ai-video-super-resolution's People

Contributors

yanbasic avatar dependabot[bot] avatar xiaotinghe avatar yike5460 avatar amazon-auto avatar nowfox avatar rrxie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.