Skip to main content

Open Source Differentiable Computer Vision Library for PyTorch

Project description


English | 简体中文

WebsiteDocsTry it NowTutorialsExamplesBlogCommunity

PyPI python PyPI version Downloads License Slack Twitter

tests-cpu tests-cuda codecov Documentation Status pre-commit.ci status

Kornia - Computer vision library for deep learning | Product Hunt

Kornia is a differentiable computer vision library for PyTorch.

It consists of a set of routines and differentiable modules to solve generic computer vision problems. At its core, the package uses PyTorch as its main backend both for efficiency and to take advantage of the reverse-mode auto-differentiation to define and compute the gradient of complex functions.

Overview

Inspired by existing packages, this library is composed by a subset of packages containing operators that can be inserted within neural networks to train models to perform image transformations, epipolar geometry, depth estimation, and low-level image processing such as filtering and edge detection that operate directly on tensors.

At a granular level, Kornia is a library that consists of the following components:

Component Description
kornia a Differentiable Computer Vision library, with strong GPU support
kornia.augmentation a module to perform data augmentation in the GPU
kornia.color a set of routines to perform color space conversions
kornia.contrib a compilation of user contrib and experimental operators
kornia.enhance a module to perform normalization and intensity transformation
kornia.feature a module to perform feature detection
kornia.filters a module to perform image filtering and edge detection
kornia.geometry a geometric computer vision library to perform image transformations, 3D linear algebra and conversions using different camera models
kornia.losses a stack of loss functions to solve different vision tasks
kornia.morphology a module to perform morphological operations
kornia.utils image to tensor utilities and metrics for vision problems

Installation

From pip:

pip install kornia
pip install kornia[x]  # to get the training API !
Other installation options

From source:

python setup.py install

From source with symbolic links:

pip install -e .

From source using pip:

pip install git+https://github.com/kornia/kornia

Examples

Run our Jupyter notebooks tutorials to learn to use the library.

:triangular_flag_on_post: Updates

Cite

If you are using kornia in your research-related documents, it is recommended that you cite the paper. See more in CITATION.

@inproceedings{eriba2019kornia,
  author    = {E. Riba, D. Mishkin, D. Ponsa, E. Rublee and G. Bradski},
  title     = {Kornia: an Open Source Differentiable Computer Vision Library for PyTorch},
  booktitle = {Winter Conference on Applications of Computer Vision},
  year      = {2020},
  url       = {https://arxiv.org/pdf/1910.02190.pdf}
}

Contributing

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us. Please, consider reading the CONTRIBUTING notes. The participation in this open source project is subject to Code of Conduct.

Community

  • Forums: discuss implementations, research, etc. GitHub Forums
  • GitHub Issues: bug reports, feature requests, install issues, RFCs, thoughts, etc. OPEN
  • Slack: Join our workspace to keep in touch with our core contributors and be part of our community. JOIN HERE
  • For general information, please visit our website at www.kornia.org

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

kornia-0.6.2.tar.gz (318.0 kB view details)

Uploaded Source

Built Distribution

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

kornia-0.6.2-py2.py3-none-any.whl (401.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file kornia-0.6.2.tar.gz.

File metadata

  • Download URL: kornia-0.6.2.tar.gz
  • Upload date:
  • Size: 318.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for kornia-0.6.2.tar.gz
Algorithm Hash digest
SHA256 eea722b3ff2f227a9ef8088cdab480cd40dd91d9138649bfd92cfa668204eea9
MD5 d30cd4d9a716d34f300e47267f5b10a0
BLAKE2b-256 d6796aa2c2bc6a54385be3cca6b4edd59eac9ba18c617a9bdd2647faca2722d5

See more details on using hashes here.

File details

Details for the file kornia-0.6.2-py2.py3-none-any.whl.

File metadata

  • Download URL: kornia-0.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 401.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for kornia-0.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5269279f6777aad92bd3926b333e5e8f6b7aee856eb95b6ec841364b673ae370
MD5 69bb69341b87b969a1edf2311542bcbe
BLAKE2b-256 89d9b78d36a1b1168170537c3220da0a2e09c191012526c162c119fa851e9cce

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