Skip to main content

3D perspective transformation

Project description

ASKEW: Perspective transform along specified axes

This is pip installed version of ASKEW. The other version is the cli tool. The cli version has more features.

Original Author

Hou-Ning Hu / @eborboihuc

Prerequisites

The original repo(Unmaintained)

This version is made for:

  • Python3

Rwquires:

  • numpy
  • OpenCV

Installation

pip3 install askew3

Usage

import askew3

it = askew3.ImageTransformer(img_path, height=height, width=width)
it.skew(theta=0, phi=0, gamma=0, dx=0, dy=0, dz=0) # optional bg = (0,0,0) for background color (supply triplet)
img = it.save(new_img_path)

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

askew3-0.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

askew3-0.0.1-py3-none-any.whl (3.2 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