Skip to main content

Convert panoramic photos to scrolling videos

Project description

Panovid

Turn panoramic photos into scrolling videos! This project can be used as a standalone script, or can be used in another python project.

Standalone

To setup use as a standalone application, run the following commands:

git clone https://github.com/kylelrichards11/panovid.git
cd panovid
pip install --user -r requirements.txt

To use, simpy call python panovid.py <filename> [options], where filename is the file name of the panorama photo. The options are specified below and can also be seen by running python panovid.py --help.

Note that the python version must be Python 3.6 or greater.

Options

Option Description
--fps Frames per second of video (default=60)
--framejump Pixels to move between frames (default=4)
--landscape Save a video in landscape mode
--portrait Save a video in portrait mode (default)

In python project

pip install panovid
from panovid import convert_to_vid
convert_to_vid("my_photo.jpg")

The optional arguments are the same as for the standalone version (without dashes).


Project details


Download files

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

Source Distribution

panovid-1.0.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

panovid-1.0.0-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

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