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

Uploaded Source

Built Distribution

saphyre-1.0.3-py3-none-any.whl (2.4 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