Skip to main content

Personal toolbox for image Warping

Project description

Torqueo logo

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)

Starter Notebook: Open in Google Colab

Documentation

Torqueo documentation can be found here: Documentation

Examples of transformations

Below are some examples of image transformations using Torqueo.

Original Image
Original Image
Barrel
Barrel
Fisheye
Fisheye
Perspective
Perspective
Pinch
Pinch
Spherize
Spherize
Stretch
Stretch
Swirl
Swirl
Twirl
Twirl
Wave
Wave

Authors of the code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torqueo-0.0.3.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

Torqueo-0.0.3-py3-none-any.whl (18.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page