Skip to main content

A package for computational photography in Python.

Project description

Saphyre is a Open Source Python Package for easy computational photography. With one function call, you can automatically create beautiful edits on regular and low light images.

Table of Contents

  • Install
  • Quickstart
  • Common use
  • More information

Install Saphyre

pip install saphyre

Quickstart

Using Saphyre's Computational Photography is a simple calling the computational_photography() function:

import saphyre

saphyre.computational_photography("my-image.jpg", "newly_edited_photo.jpg")

Common use

Saphyre works well on both CPU's and GPU's; However, if images are larger than 1 MB, processing takes longer. To combat this, you an shrink your photo slightly using the lower_size() function.

import saphyre
from saphyre import helper

smaller_photo = helper.lower_size("big_image.jpg")

# "big_image" has now been reduced in size
saphyre.computational_photography("big_image", "newly_edited_photo.jpg")

More information

For more information on projects from clevrML, please see https://www.clevrml.com or https://apollo.clevrml.com.

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

saphyre-1.0.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

saphyre-1.0.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file saphyre-1.0.3.tar.gz.

File metadata

  • Download URL: saphyre-1.0.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

File hashes

Hashes for saphyre-1.0.3.tar.gz
Algorithm Hash digest
SHA256 c0ad1cf65456cda9b75dc1567db99e63181870a0b7570c7e1e33727dd6ba097e
MD5 ef6d29ea81ffd3c6942bb6fdd7d73100
BLAKE2b-256 ffec5fdb593f1c7e84ff1cafc5d30b628ac1db163284faff7c51e5c86d97125f

See more details on using hashes here.

File details

Details for the file saphyre-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: saphyre-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

File hashes

Hashes for saphyre-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c383fdced3de58a326aab71d536561466886d7b3895084114b643d5e9bfc6b63
MD5 f838c2d664b8142717c0cdaaff749687
BLAKE2b-256 619f60daf67be3b242938238a230732c4605ff9f437c8ce956673b387147d6b4

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