Torqueo is a simple and hackable library for experimentation with image warping in PyTorch. It is designed to facilitate easy manipulation and transformation of images using various warping techniques.
🚀 Getting Started with Torqueo
Torqueo requires Python 3.7 or newer and several dependencies, including Numpy. Installation is straightforward with Pypi:
pip install torqueo
With Torqueo installed, you can dive into image warping. The API is designed to be intuitive, requiring only a few hyperparameters to get started.
Example usage:
import torch
import timm
from torqueo import Fisheye
transformed_images = Fisheye()(images)
Documentation
Torqueo documentation can be found here: Documentation
Examples of transformations
Below are some examples of image transformations using Torqueo.
Original Image |
Barrel |
Fisheye |
Perspective |
Pinch |
Spherize |
Stretch |
Swirl |
Twirl |
Wave |
Authors of the code
- Vipul Sharma - vipul_sharma@brown.edu, Brown University
- Thomas Fel - thomas_fel@brown.edu, PhD Student DEEL (ANITI), Brown University
Metadata
Release files for Torqueo 0.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 |
|---|---|---|---|---|
| torqueo-0.0.3.tar.gz | 11.6 kB | Without provenance | Details for torqueo-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Torqueo-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for Torqueo-0.0.3-py3-none-any.whl |
Total release size: 30.4 kB
Release files / torqueo-0.0.3.tar.gz
| Download URL | torqueo-0.0.3.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a4c9c0490ad9d472b27a7b5d2a0156d535659f760d6649c122ddb07844714ca
|
|
BLAKE2b-256 checksum How to use checksums |
167990623aca2a0075cd1cf2471d095bd92bbf847b2868d91f5cef892790d0a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / Torqueo-0.0.3-py3-none-any.whl
| Download URL | Torqueo-0.0.3-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63bb5d5c9b5eaba863a756d148a72db41f289bfb5a478a75674be44c880a60b2
|
|
BLAKE2b-256 checksum How to use checksums |
b87719d57b101edf0346187e57f7b621a212e2f7605c92380be809b1755d7cdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for Torqueo 0.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.