Git Product home page Git Product logo

eulerian-video-magnification's Introduction

███████╗██╗   ██╗███╗   ███╗
██╔════╝██║   ██║████╗ ████║
█████╗  ██║   ██║██╔████╔██║
██╔══╝  ╚██╗ ██╔╝██║╚██╔╝██║
███████╗ ╚████╔╝ ██║ ╚═╝ ██║
╚══════╝  ╚═══╝  ╚═╝     ╚═╝


DESCRIPTION
    Eulerian Video Magnification for colors and motions magnification

USAGE
    python evm.py [-h] --video_path VIDEO_PATH [--level LEVEL] [--alpha ALPHA]
                  [--lambda_cutoff LAMBDA_CUTOFF] [--low_omega LOW_OMEGA]
                  [--high_omega HIGH_OMEGA] --saving_path SAVING_PATH
                  [--mode {gaussian,laplacian}] [--attenuation ATTENUATION]

    arguments:
      --video_path VIDEO_PATH, -v VIDEO_PATH
                            Path to the video to be used
      --level LEVEL, -l LEVEL
                            Number of level of the Gaussian/Laplacian Pyramid
      --alpha ALPHA, -a ALPHA
                            Amplification factor
      --lambda_cutoff LAMBDA_CUTOFF, -lc LAMBDA_CUTOFF
                            λ cutoff for Laplacian EVM
      --low_omega LOW_OMEGA, -lo LOW_OMEGA
                            Minimum allowed frequency
      --high_omega HIGH_OMEGA, -ho HIGH_OMEGA
                            Maximum allowed frequency
      --saving_path SAVING_PATH, -s SAVING_PATH
                            Saving path of the magnified video (.avi extension necessary)
      --mode {gaussian,laplacian}, -m {gaussian,laplacian}
                            Type of pyramids to use (gaussian or laplacian)
      --attenuation ATTENUATION, -at ATTENUATION
                            Attenuation factor for I and Q channel post filtering

REFERENCES
    Eulerian Video Magnification for Revealing Subtle Changes in the World (https://people.csail.mit.edu/mrub/evm/)

CONTRIBUTORS
    Hussem Ben Belgacem

eulerian-video-magnification's People

Contributors

hbenbel 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

Watchers

 avatar  avatar

eulerian-video-magnification's Issues

Running the code

Hello Sir,
Hope you are doing good, Can you please update evm.py with comments and examples.

Short result duration

I tried running this on a 45 second video and it's returning a video that's less than one second long.

Can't compile

evm.py: error: the following arguments are required: --saving_path/-s
[--lambda_cutoff: command not found
[--high_omega: command not found
[--mode: command not found

i can't seem to run it after running the usage, any help is greatly appreciated

Compilation issue

Everything works up until the final part and I keep getting this issue:

numpy.core._exceptions._ArrayMemoryError: Unable to allocate 12.0 GiB for an array with shape (3, 720, 1280, 292) and data type complex 128

Any help?
Thanks!

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.