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

Uploaded Source

Built Distribution

askew3-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file askew3-0.0.1.tar.gz.

File metadata

  • Download URL: askew3-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for askew3-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ff0eae8e655b4df3e05b68fccbf2411f8179858b78cb9fcf630a4288a369b96a
MD5 3088c947d27be94585d168af52c49848
BLAKE2b-256 d9be0c3de23f350bd12d508fa956775d22200dee43ada01b6d65ab1b25b63f0d

See more details on using hashes here.

File details

Details for the file askew3-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: askew3-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for askew3-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7784f4ac74609d2ae4236e90516f1d92ebcad455a9e7f7f65b69f6c2081c084
MD5 4ff76d6e5f24bb6f431dae83854cd1f1
BLAKE2b-256 c57d59e4d58b7e3cace07c9e8914adc664ab07f7632180ad57c1ceece257467d

See more details on using hashes here.

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