Skip to main content

This plugin adds utilities for working with images and videos to the katalytic namespace

Project description

katalytic-images version tests coverage docs license: MIT

Don't use in production yet. I will probably introduce backwards incompatible changes

Process images with less boilerplate and more flexibility than you've ever dreamed of.

  • loading images in a specific colorspace (RGB, HSV, grayscale, and more) with a single command
  • converting image colorspaces
  • The functions accept numpy arrays and Pillow images as input and return the same type
  • defining the shapes to be drawn on top of an image in a declarative way as a list of dicts and passing it to draw()
  • Many more (TODO: Link to tocs)

Example (TODO)

Installation

First, install opencv, which is not added as dependency so you can install the contrib/headless versions

if [[ ! $(pip freeze | grep -Pi 'opencv') ]]; then
    pip install opencv-python
fi

Then, install this package

pip install katalytic-images

Roadmap

  • make pillow an optional dependency.
    • setup_load_image() should pick opencv if pillow is not available
  • image thresholding and masking operations
  • interactive data exploration widgets (maybe as part of another package)
  • higher level API on top of opencv
  • utilities for video processing

Contributing

We appreciate any form of contribution, including but not limited to:

  • Code contributions: Enhance our repository with your code and tests.
  • Feature suggestions: Your ideas can shape the future development of our package.
  • Architectural improvements: Help us optimize our system's design and API.
  • Bug fixes: Improve user experience by reporting or resolving issues.
  • Documentation: Help us maintain clear and up-to-date instructions for users.

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

katalytic_images-0.14.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

katalytic_images-0.14.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file katalytic_images-0.14.0.tar.gz.

File metadata

  • Download URL: katalytic_images-0.14.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for katalytic_images-0.14.0.tar.gz
Algorithm Hash digest
SHA256 6ad8c0f4d49c5f97eed24684d6b0986d328d38be3f90f55209c40a71b5b176c0
MD5 f4b2a5f5c01f81b20f4de6491858b353
BLAKE2b-256 651a3c1a39b90c82fa648f6833470df0497516e4ed258999ec35f636c67c395c

See more details on using hashes here.

File details

Details for the file katalytic_images-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for katalytic_images-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae96125e8e457d90faaeb6cacfb7f62c731f9c0461f6672fa9670d3e6afc220
MD5 9f6241474428518dfea368f99ad0550f
BLAKE2b-256 afae4f98cdc9daa23750343547c2143f83252599af85a63ccd61acb05684b1cf

See more details on using hashes here.

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