Personal toolbox for image Warping
Project description
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
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
File details
Details for the file torqueo-0.0.3.tar.gz
.
File metadata
- Download URL: torqueo-0.0.3.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4c9c0490ad9d472b27a7b5d2a0156d535659f760d6649c122ddb07844714ca |
|
MD5 | fcd37f467ee80be885438192e5f02ebf |
|
BLAKE2b-256 | 167990623aca2a0075cd1cf2471d095bd92bbf847b2868d91f5cef892790d0a7 |
File details
Details for the file Torqueo-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: Torqueo-0.0.3-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bb5d5c9b5eaba863a756d148a72db41f289bfb5a478a75674be44c880a60b2 |
|
MD5 | 76f25b47c2ed4e01e19a158848b2ee0a |
|
BLAKE2b-256 | b87719d57b101edf0346187e57f7b621a212e2f7605c92380be809b1755d7cdf |