Skip to main content

A lightweight Computer Vision library for high-performance AI research - Modern Computer Vision on the Fly.

Project description

Caer Logo

Python PyPI Twitter Downloads ReadTheDocs license

Caer - Modern Computer Vision on the Fly

Caer is a lightweight, high-performance Vision library for high-performance AI research. We wrote this framework to simplify your approach towards Computer Vision by abstracting away unnecessary boilerplate code giving you the flexibility to quickly prototype deep learning models and research ideas. The end result is a library quite different in its design, that’s easy to understand, plays well with others, and is a lot of fun to use.

Our elegant, type-checked API and design philosophy makes Caer ideal for students, researchers, hobbyists and even experts in the fields of Deep Learning and Computer Vision.

Overview

Caer is a Python library that consists of the following components:

Component Description
caer A lightweight GPU-accelerated Computer Vision library for high-performance AI research
caer.color Colorspace operations
caer.data Standard high-quality test images and example data
caer.path OS-specific path manipulations
caer.preprocessing Image preprocessing utilities.
caer.transforms Powerful image transformations and augmentations
caer.video Video processing utilities

Usually, Caer is used either as:

  • a replacement for OpenCV to use the power of GPUs.
  • a Computer Vision research platform that provides maximum flexibility and speed.

Installation

See the Caer Installation guide for detailed installation instructions (including building from source).

Currently, caer supports releases of Python 3.6 onwards; Python 2 is not supported (nor recommended). To install the current release:

$ pip install --upgrade caer

Getting Started

Minimal Example

import caer

# Load a standard 640x427 test image that ships out-of-the-box with caer
sunrise = caer.data.sunrise(rgb=True)

# Resize the image to 400x400 while MAINTAINING aspect ratio
resized = caer.resize(sunrise, target_size=(400,400), preserve_aspect_ratio=True)
caer.resize()

For more examples, see the Caer demos or Read the documentation

Resources

Contributing

We appreciate all contributions, feedback and issues. If you plan to contribute new features, utility functions, or extensions to the core, please go through our Contribution Guidelines.

To contribute, start working through the caer codebase, read the Documentation, navigate to the Issues tab and start looking through interesting issues.

Current contributors can be viewed either from the Contributors file or by using the caer.__contributors__ command.

Asking for help

If you have any questions, please:

  1. Read the docs.
  2. Look it up in our Github Discussions (or add a new question).
  3. Search through the issues.

License

Caer is open-source and released under the MIT License.

BibTeX

If you want to cite the framework feel free to use this (but only if you loved it 😊):

@article{jasmcaus,
  title={Caer},
  author={Dsouza, Jason},
  journal={GitHub. Note: https://github.com/jasmcaus/caer},
  volume={2},
  year={2020-2021}
}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caer-2.0.8.tar.gz (791.5 kB view details)

Uploaded Source

Built Distribution

caer-2.0.8-py3-none-any.whl (809.5 kB view details)

Uploaded Python 3

File details

Details for the file caer-2.0.8.tar.gz.

File metadata

  • Download URL: caer-2.0.8.tar.gz
  • Upload date:
  • Size: 791.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for caer-2.0.8.tar.gz
Algorithm Hash digest
SHA256 c5da1019ce15658d53f1787c637fa80b766b09656291c128e6f7cdb0598aef69
MD5 5620cdcb7f0ce2589f1f3d6a073bf4e4
BLAKE2b-256 d8d222ebe136e0f62bb93753c9f979fd2c899de5a0d63ca8d3afd7d8fa47dce3

See more details on using hashes here.

File details

Details for the file caer-2.0.8-py3-none-any.whl.

File metadata

  • Download URL: caer-2.0.8-py3-none-any.whl
  • Upload date:
  • Size: 809.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for caer-2.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 18eef7a6b4cfe203a3fe46b4fcb51abac58fd03cffb1b49c046a768b3437a00c
MD5 1295fc9a79fdbf80b8d6e929c4d37d26
BLAKE2b-256 cacee2546db238e598eef70f70f7a49a2c7eb9145a509e483f9a327c7f8c9ede

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