Giter Club home page Giter Club logo

avinashpaliwal / deep-slomo Goto Github PK

View Code? Open in Web Editor NEW
85.0 9.0 8.0 186.97 MB

Official PyTorch implementation of "Deep Slow Motion Video Reconstruction with Hybrid Imaging System" (TPAMI)

Home Page: http://faculty.cs.tamu.edu/nimak/Papers/ICCP2020_Slomo/

License: MIT License

Python 59.72% Shell 0.38% C++ 9.47% Cuda 30.44%
hybrid-imaging video-frame-interpolation deep-slomo slow-motion deep-learning slomo convolutional-neural-networks frame-interpolation pytorch-implementation pytorch

deep-slomo's Introduction

Deep-SloMo MIT Licence

Official PyTorch implementation of "Deep Slow Motion Video Reconstruction with Hybrid Imaging System" Project | Paper
IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI) and ICCP 2020.

This project is an appliaction of Computational Photography to enhance the slow motion video capturing capabilities of cameras by leveraging dual camera setups.

Example: If a dual camera smartphone is capable of capturing 240fps at 480p and 30fps at 1080p, we can generate 240fps 1080p videos by simultaneously utilizing both cameras.

Prerequisites

This codebase was developed and tested with PyTorch 1.3.1, CUDA 0.4.2 and Python 3.7.5.

Installation

conda install pytorch==1.3.1 torchvision==0.4.2 cudatoolkit=10.1 numpy -c pytorch
pip install tqdm

Download repository

https://github.com/avinashpaliwal/Deep-SloMo.git

Build correlation package for PWCNet

$ cd PWCNet/correlation_package_pytorch1_0
$ ./build.sh

Test

Pretrained model

The pretrained model checkpoints are in the Checkpoints folder.

Scenes

You can download the synthetic (Juggler and Horse), real digital camera (Basketball, Fountain and Veggies) and smartphone (Jump, Dribble and Car) scenes here.

Synthetic scenes

python test.py --scene_root path/to/juggler --interpolation_sequence 12

Digital camera scenes

python test.py --scene_root path/to/basketball --interpolation_sequence 13 12 12

Smartphone scenes

python test.py --scene_root path/to/jump --interpolation_sequence 3

The --interpolation_sequence depends on the low and high frame rates. Example: For 30 and 400 fps, since they are not divisible, the sequence is 13 12 12.
The --scene_root is path to the scene folder containing low-res LR and high-res HR folders.

Video

Audi R8

Our real camera rigs

References

@article{paliwal2020slowmotion,
  author={A. {Paliwal} and N. {Khademi Kalantari}}, 
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, 
  title={Deep Slow Motion Video Reconstruction With Hybrid Imaging System}, 
  year={2020},
  volume={42},
  number={7},
  pages={1557-1569},}

deep-slomo's People

Contributors

avinashpaliwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deep-slomo's Issues

Release Date

Do you already know when you will release the code?

Homography

In the paper it was mentioned that homography is performed to align the two video sources. Is that part of the code in this repo? If yes, could you point me to it? Thank you!

High FPS videos from youtube

Hello Avinash,

Thank you for sharing your work.
Could you possibly also share youtube videos (or ids) that you used for training?

Best regards, Stepan

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.