Manage creative assets

Kornia – differentiable computer vision library

Kornia is a differentiable computer vision library built on PyTorch. It provides image-processing and geometric-vision operations that integrate with machine-learning pipelines, supporting automatic differentiation, batch processing and GPU acceleration.

The library includes more than 500 operations spanning image enhancement, filtering, augmentation, feature detection, geometry, stereo vision, image registration, pose estimation, optical flow and 3D vision. It also offers pretrained models for tasks such as face detection, feature matching, segmentation and image classification.

This is free and open source software.

Key Features

  • Provides differentiable image-processing and computer-vision operations.
  • Integrates directly with PyTorch and its automatic differentiation system.
  • Supports batched transformations and GPU acceleration.
  • Offers affine, perspective, homography, resizing and other geometric transformations.
  • Includes Gaussian, median, bilateral, Sobel, Canny and other filters.
  • Provides configurable image, video and patch augmentation pipelines.
  • Supports AutoAugment, RandAugment, TrivialAugment, MixUp and CutMix.
  • Includes feature detectors, descriptors and matching algorithms.
  • Provides camera calibration, stereo vision and epipolar geometry tools.
  • Supports image registration, pose estimation, optical flow and point-cloud operations.
  • Includes vision-specific loss functions, metrics and neural-network layers.
  • Offers pretrained models including LoFTR, LightGlue, SAM, MobileViT and Vision Transformer.
  • Supports exporting and running compatible models with ONNX.

Website: github.com/kornia/kornia
Support:
Developer: Edgar Riba
License: Apache License 2.0

Kornia is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Image Processing Libraries
matplotlibPython 2D plotting library
OpenCVLibrary that includes several hundreds of computer vision algorithms
VIPSFast image processing library with low memory requirements
SciPyScientific Computing Tools for Python
PillowFork of the Python Imaging Library
Pillow-SIMDHighly optimized downstream Pillow fork
scikit-image Collection of algorithms for image processing
ImageMagickUses multiple computational threads to increase performance
GraphicsMagickBilled as the Swiss army knife of image processing.
GEGLGeneric Graphics Library
MahotasLibrary of fast computer vision algorithms
SimpleITKImage analysis toolkit with a large number of components
NetpbmToolkit for manipulation of graphic images
LibGDLibrary for the dynamic creation of images by developers

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted