Socket
Socket
Sign inDemoInstall

kornia

Package Overview
Dependencies
28
Maintainers
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kornia

Open Source Differentiable Computer Vision Library for PyTorch


Maintainers
2

Readme


English | 简体中文

WebsiteDocsTry it NowTutorialsExamplesBlogCommunity

PyPI python pytorch License

PyPI version Downloads Slack Twitter

tests-cpu 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:

ComponentDescription
korniaa Differentiable Computer Vision library, with strong GPU support
kornia.augmentationa module to perform data augmentation in the GPU
kornia.colora set of routines to perform color space conversions
kornia.contriba compilation of user contrib and experimental operators
kornia.enhancea module to perform normalization and intensity transformation
kornia.featurea module to perform feature detection
kornia.filtersa module to perform image filtering and edge detection
kornia.geometrya geometric computer vision library to perform image transformations, 3D linear algebra and conversions using different camera models
kornia.lossesa stack of loss functions to solve different vision tasks
kornia.morphologya module to perform morphological operations
kornia.utilsimage 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
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

Made with contrib.rocks.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc