img360_transformer
img360_transformer is a Python tool for batch processing and recentering 360-degree images. It provides both a command-line interface and a graphical user interface for ease of use.
Installation
- Install the required dependencies:
pip install -r requirements.txt
- Ensure
exiftoolis installed and available in your system's PATH. You can download it from ExifTool website.
Usage
Command-Line Interface
To use the command-line interface, run the following command:
python main.py <pitch> <yaw> <roll> <image1_or_glob> [<image2_or_glob> ...]
<pitch>: The pitch adjustment in degrees.<yaw>: The yaw adjustment in degrees.<roll>: The roll adjustment in degrees.<image1_or_glob>: The path to the first image or a glob pattern to match multiple images.[<image2_or_glob> ...]: Additional image paths or glob patterns.
Example:
python main.py 0 -30 0 "images/*.jpg"
Graphical User Interface
To launch the graphical user interface, run the following command:
python main.py <image>
<image>: The path to a single image.
Example:
python main.py "images/sample.jpg"
Help
For help and usage instructions, run:
python main.py --help
Potential errors
On Windows
You may encounter the following error when running the program on Windows:
ImportError: DLL load failed: The specified module could not be found.
If this happens on Windows, make sure you have Visual C++ redistributable 2015 installed. If you are using older Windows version than Windows 10 and latest system updates are not installed, Universal C Runtime might be also required.
On Linux
When running with GUI, you may encounter the following error:
cv2.error: OpenCV(4.6.0) ./modules/highgui/src/window_QT.cpp:495: error: (-27:Null pointer) NULL window handler in function 'icvFindTrackBarByName'
I don't know how to fix this yet. If you know how to fix this, please let me know.
License
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
Metadata
Release files for img360-transformer 0.1.1
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 |
|---|---|---|---|---|
| img360_transformer-0.1.1.tar.gz | 8.7 kB | Without provenance | Details for img360_transformer-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| img360_transformer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for img360_transformer-0.1.1-py3-none-any.whl |
Total release size: 21.6 kB
Release files / img360_transformer-0.1.1.tar.gz
| Download URL | img360_transformer-0.1.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d52a3efd3253ba7fb71a980638809305577c9dc487fa331d11a5942ead5cbc51
|
|
BLAKE2b-256 checksum How to use checksums |
cd6f4ed1d698cefee53e8c414f419839cad4f8066c52c66a2dd0501ee12e4d86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Windows/11
|
Release files / img360_transformer-0.1.1-py3-none-any.whl
| Download URL | img360_transformer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f7fa898369f66389bf8bd255b599dfc4a94a3456308cf9c4f2663100fed84dc
|
|
BLAKE2b-256 checksum How to use checksums |
d86923e34364fa84da0daf35485a020d501284240d47740f70b5e1ff4860b071
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Windows/11
|
Security for img360-transformer 0.1.1
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.