Skip to main content

sp



Sinapsis Image Transforms

Templates for applying image transformations using Albumentations.

🐍 Installation • 📦 Packages • 🌐 Webapp • 📙 Documentation • 🔍 License

This mono repo contains the sinapsis-albumentations package, featuring an extensive collection of templates for image transformation supported by the Albumentations library.

🐍 Installation

Install using your package manager of choice. We encourage the use of uv

Example with uv:

  uv pip install sinapsis-albumentations --extra-index-url https://pypi.sinapsis.tech

or with raw pip:

  pip install sinapsis-albumentations --extra-index-url https://pypi.sinapsis.tech

📦 Packages

Sinapsis albumentations

The Sinapsis Albumentations package provides a collection of templates for applying image transformations using Albumentations.

For specific instructions and further details, see the sinapsis-albumentations README.

🌐 Webapp

The webapp provides an interactive interface to visualize and experiment with image transformations in real time.

[!IMPORTANT] To run the app you first need to clone this repository:

git clone git@github.com:Sinapsis-ai/sinapsis-image-transforms.git
cd sinapsis-image-transforms

[!NOTE] If you'd like to enable external app sharing in Gradio, export GRADIO_SHARE_APP=True

🐳 Docker
  1. Build the sinapsis-image-transforms image:
docker compose -f docker/compose.yaml build
  1. Start the app container:
docker compose -f docker/compose_apps.yaml up sinapsis-albumentations-gradio -d
  1. Check the status:
docker logs -f sinapsis-albumentations-inference-gradio
  1. The logs will display the URL to access the webapp, e.g.:

NOTE: The url can be different, check the output of logs

Running on local URL:  http://127.0.0.1:7860
  1. To stop the app:
docker compose -f docker/compose_apps.yaml down
💻 UV

To run the webapp using the uv package manager, please:

  1. Create the virtual environment and sync the dependencies:
uv sync --frozen
  1. Install the wheel:
uv pip install sinapsis-image-transforms[all] --extra-index-url https://pypi.sinapsis.tech
  1. Run the webapp:
uv run webapps/gradio_albumentations_transforms_visualizer.py
  1. The terminal will display the URL to access the webapp, e.g.:

NOTE: The url can be different, check the output of the terminal

Running on local URL:  http://127.0.0.1:7860

📙 Documentation

Documentation for this and other sinapsis packages is available on the sinapsis website

Tutorials for different projects within sinapsis are available at sinapsis tutorials page

🔍 License

This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the LICENSE file.

For commercial use, please refer to our official Sinapsis website for information on obtaining a commercial license.

Metadata

Release files for sinapsis-image-transforms 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sinapsis-image-transforms 0.2.7
File Size Uploaded
sinapsis_image_transforms-0.2.7.tar.gz 21.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sinapsis-image-transforms 0.2.7
File Interpreter ABI Platform
sinapsis_image_transforms-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 41.5 kB

Release files / sinapsis_image_transforms-0.2.7.tar.gz

Download URL sinapsis_image_transforms-0.2.7.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
95e74c2a93a75839a26849e0a227c3a851bdf17c61ad1f25ca5ad9618dbbe2cb
BLAKE2b-256 checksum
How to use checksums
80a6e288315ec6d89cccb1e90a96007dd7b9ef25cab5e011b5a3ebe3a95c4f8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release files / sinapsis_image_transforms-0.2.7-py3-none-any.whl

Download URL sinapsis_image_transforms-0.2.7-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
426d9c9f0cd8c10f0296c2fc0be1076b3faa2c0433dab48c0879f799b7cd4c5e
BLAKE2b-256 checksum
How to use checksums
6484bc36ab41103f6bcf3ac9e8cc9fbbdcf7c313d4ff76c0862c391d929a2255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page