Giter VIP home page Giter VIP logo

slit-scan's Introduction

Slit Scan

Program for making slit-scan photos( Slit-Scan Photography : http://en.wikipedia.org/wiki/Slit-scan_photography ) from video files.

Uses FFMPEG for decoding video, and ImageMagick to encode image files.

Build

Run make.sh

Build Instructions

Make sure you have FFMPEG, for decoding video, and ImageMagic to enncode image files.

You can grab FFMPEG https://trac.ffmpeg.org/, you can find instructions for compiling and installing it under Ubuntu https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide.

Make sure to install ImageMagick http://www.imagemagick.org/script/index.php, you can use MacPorts to install ImageMagick and its dependencies to compile under MacOSX.

If you have MacPorts, and are planning on compiling it under a MacOSX environment, you can the dependencies by running:

sudo port install FFMPEG sudo port install ImageMagick

Before compiling, make sure your MacPorts libraries are set.

vim ~/.profile

Add the following lines to the end of your ~/.profile.

export MANPATH=/opt/local/share/man:$MANPATH export C_INCLUDE_PATH=/opt/local/include export CPLUS_INCLUDE_PATH=/opt/local/include export LIBRARY_PATH=/opt/local/lib alias gcc="gcc -I/opt/local/include -L/opt/local/lib" alias g++="g++ -I/opt/local/include -L/opt/local/lib"

Once you have your dependencies install, simply run the make file.

./make.sh

Usage

./slit-scan [yourvideo.mp4]

Example:

./slit-scan video.mp4

Will generate video.png in the current directory.

See ./slit-scan --help for more information about keys.

Tools

vertical_jitter_fix.py

Tool for removing vertical jitter from the images. Useful for post-processing slit scan photos, made from shaky videos. Requires Python2, PIL and Numpy. Usage: $ python vertical_jitter_fix.py --help

slit-scan's People

Contributors

dmishin avatar jesush avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  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.