`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.
Project description
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
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file img360_transformer-0.1.0.tar.gz.
File metadata
- Download URL: img360_transformer-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d80f97640f35e750960f01fd75d1f8ee5f46d8420e5e231381577625f122856
|
|
| MD5 |
6843b7918c04e0927f8690ff56204b70
|
|
| BLAKE2b-256 |
bf17953ae6245c8ec597d5172a4cccede3cad508ba3d6bfc81fcd8c080e6e785
|
File details
Details for the file img360_transformer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: img360_transformer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0d26796dbcdf5d4008e1e170f6c785db0bf87d4f034d0aa14e54787f74693c9
|
|
| MD5 |
82c42defd9161e7e6c05a142c9639fa1
|
|
| BLAKE2b-256 |
1603614c7a2687802581d3aa841505e15655fc6ab7d822561c41fa0b18b32fb9
|