Skip to main content

A toolkit for equirectangular image processing and conversions.

Reason this release was yanked:

wrong version nr

Project description

EquiForge Logo

A performant toolkit for equirectangular image processing and conversions

PyPI version GitHub license

Features

  • Convert perspective images to equirectangular projection (pers2equi)
  • Convert equirectangular images to perspective view (equi2pers)
  • GPU acceleration with CUDA (optional)

Installation

Prerequisites

  • Python 3.8 or later
  • numpy
  • numba
  • Pillow

Using pip:

pip install equiforge

CUDA GPU Support

To enable CUDA GPU support, install the latest graphics drivers from NVIDIA for your platform. Then install the CUDA Toolkit package.

For CUDA 12, cuda-nvcc and cuda-nvrtc are required:

$ conda install -c conda-forge cuda-nvcc cuda-nvrtc "cuda-version>=12.0"

Example Usage

from equiforge import pers2equi

# Convert perspective image to equirectangular
equi_image = pers2equi(
    'input.jpg',
    output_height=2048, 
    fov_x=90.0,
    yaw=0.0,
    pitch=0.0,
    roll=0.0
)
from equiforge import pers2equi
# Convert equirectangular image to perspective view
pers_image = equi2pers(
    'equirectangular.jpg',
    output_width=1920,
    output_height=1080,
    fov_x=90.0,
    yaw=45.0,
    pitch=15.0,
    roll=0.0
)

Documentation

For more examples and detailed documentation, see the Jupyter notebooks included in the repository.

Acknowledgements:

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

equiforge-0.2.0.dev0.tar.gz (41.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

equiforge-0.2.0.dev0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file equiforge-0.2.0.dev0.tar.gz.

File metadata

  • Download URL: equiforge-0.2.0.dev0.tar.gz
  • Upload date:
  • Size: 41.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for equiforge-0.2.0.dev0.tar.gz
Algorithm Hash digest
SHA256 fe595b12fb7d2c017ceac2c640f477e0dd24d054b3579a5764f5dedc70c3f5f8
MD5 cae175a15090c57d8decb466f2c7f09d
BLAKE2b-256 8702f7faa46b400f9fa553cb4775f494aad220d26990060dfddea83d7d562ac4

See more details on using hashes here.

Provenance

The following attestation bundles were made for equiforge-0.2.0.dev0.tar.gz:

Publisher: upload-python-package-pypi.yml on MikkelKappelPersson/EquiForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file equiforge-0.2.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: equiforge-0.2.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for equiforge-0.2.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 6897c1e58fdc41eaa5613797673ab0324d30d9896e8c80b5fab89612e4658308
MD5 6575ca2de2bdc27926571104a4090701
BLAKE2b-256 04ec1c1ad99d2daea6ec2a1318b0141e26e15023504188ce2b6e084d69089976

See more details on using hashes here.

Provenance

The following attestation bundles were made for equiforge-0.2.0.dev0-py3-none-any.whl:

Publisher: upload-python-package-pypi.yml on MikkelKappelPersson/EquiForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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