Skip to main content

Hipshot converts a video file into a single image simulating a long-exposure photograph.

Project description

Hipshot converts a video file into a single image simulating a long-exposure photograph.

Installation

Hipshot requires:

  • Python 2;

  • docopt;

  • NumPy;

  • the FFMPEG libraries; and

  • OpenCV and its Python bindings.

Hipshot consists of a package and a script.

To install them,

gunzip < Hipshot-0.4.1.tar.gz | tar -xf -
cd Hipshot-0.4.1/
python setup.py install

or with pip,

pip install hipshot

Usage

The hipshot script takes a single argument: the name of a video file; and an optional argument given by the option --weight which specifies the weighing factor for each frame in the sum.

Hipshot - Simulate long-exposure photography

Usage:
    hipshot <file> [--weight <alpha>]

Options:
    -w, --weight    Sum frames with the specified weight.
    -v, --version   Print version information.
    -h, --help      Print this help.

Example

The following image was created from the video: ISS Near Aurora Borealis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

Hipshot-0.4.1.zip (7.0 kB view hashes)

Uploaded Source

Hipshot-0.4.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page