video2panorama
video2panorama is a Python-based tool designed to transform video sequences into panoramic images. It automates the stitching process by analyzing frames from input video files and producing panoramic outputs.
How to install
1. install with pip
For users who want to install the package directly from PyPI:
pip install video2panorama
2. Cloning the repo and installing locally
For those who prefer to work with the latest code or contribute to the project, you can clone the GitHub repository and install it locally.
Clone the repo:
git clone https://github.com/RaduBolbo/video_to_panorama.git
Navigate into the cloned directory:
cd video_to_panorama
Create a conda environemnt:
conda create --name v2p python==3.10
Activate the conda environemnt:
conda activate v2p
Install the package:
pip install .
How to use
2. Using the terminal
Run the following command in the terimanl:
video2panorama --input_path path/to/your/video.mp4 --output_path path/to/the/output/panoramic_image.png
Additionally, if you wantto try other hyperparameters, you can include them in a .json file whos path you can send to the comman:
video2panorama --input_path path/to/your/video.mp4 --output_path path/to/the/output/panoramic_image.png --hyperparameters_path path/to/your/config/file.json
The config file should have the following format:
{
"feature_extraction_algo" : "sift",
"ratio" : 0.75,
"reprojectionThresh" : 2,
"adaptive_shift_pixels" : 2,
"non_dominant_direction_pixels_freedom_degree" : 0
}
The hyperparameters are explained in ****
2. Using the Python Api
from video2panorama.panorama import Video2Panorama
tts = Video2Panorama()
tts.convert('path/to/your/video.mp', 'path/to/the/output/panoramic_image.png')
If you want to overwrite the default parameters you can specify them in the constructor:
tts = Video2Panorama(feature_extraction_algo="sift",
ratio=0.75,
reprojectionThresh=2,
adaptive_shift_pixels=2,
non_dominant_direction_pixels_freedom_degree=0
)
Metadata
Release files for video2panorama 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| video2panorama-1.0.3.tar.gz | 13.6 kB | Without provenance | Details for video2panorama-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| video2panorama-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for video2panorama-1.0.3-py3-none-any.whl |
Total release size: 27.7 kB
Release files / video2panorama-1.0.3.tar.gz
| Download URL | video2panorama-1.0.3.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
574231db273dc084ea4b8de05f0feb769c76fcdb8bc399f55085100867f69d8f
|
|
BLAKE2b-256 checksum How to use checksums |
a9ed96c7ac2661d06aaaca4a548001fa652f8284939ff68527e818f4c65fbe0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / video2panorama-1.0.3-py3-none-any.whl
| Download URL | video2panorama-1.0.3-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf9f11b49331a5529acac915e927b979cc6532f48fd4d85f62312a9c95f69cd0
|
|
BLAKE2b-256 checksum How to use checksums |
2553af4f927536b6ebb700a684b3e76e21df60916497729d102f9469f6cd7867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for video2panorama 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.