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)
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