Skip to content

pmoret/deshake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deshake

A python script to de-shake timelapse (or video) based on scikit-image.

Story

The story of this little program starts somewhere in the Swiss mountains. We were shooting a timelapse video with a tele-lens on a very windy weather. The result video was completely shaky.

We decided to try to fix it by using the scikit-image library which offers a precise translation detection method between two images. Read More

We were quite impressed by the end result (click to view in Vimeo):

Video

Usage

The script depends on scikit-image and joblib. Make sure those two libraries are available in your python environment.

./deshake.py INPUT_DIR [OUTPUT_DIR]

Usage if fairly simple, you just need to provide one input directory with all your images. The second argument is optional (by default output is used as an output directory)

For instance, using our test example (the images have been released under a CC-by license):

wget http://pmoret.ch/alpes.tgz
tar xzvf alpes.tgz
./deshake.py alpes/ output/

About

A python script to de-shake timelapse (or video) based on scikit-image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages