Kornia
kornia.readthedocs.io
Differentiable computer vision library for PyTorch with 1,200+ operators for image processing, camera geometry, feature matching and augmentation.
- Pricing
- Open source
- Published
- Nov 2, 2026
Next steps
- NVIDIA Model Optimizer
Both tools are listed under AI Developer Tools, Open Source, and pytorch.
- Heretic
Both tools are listed under AI Developer Tools, Open Source, and pytorch.
- OpenHuman
Both tools are listed under AI Developer Tools and Open Source.
- CodeGraph
- Diagram Design
- Agent Skills (Addy Osmani)
What it does
Kornia is an open-source (Apache-2.0) differentiable computer vision library built on PyTorch, often described by the project as geometric computer vision for spatial AI. It offers more than 1,200 public operators, most without a torchvision equivalent: camera models and epipolar geometry, minimal solvers and RANSAC, feature detection, description and matching, edge detection, morphology, Lab and Bayer colour, image losses and metrics. Operations accept per-sample parameters in one batched call (for example a per-image blur sigma or rotation angle), solvers such as 7-/8-point fundamental, 5-point essential, DLT homography and PnP run batched on the GPU, and geometry functions (depth to 3D, projection, Brown–Conrady and Kannala–Brandt distortion, SO3/SE3 Lie groups) keep gradients with respect to depth, pose and camera parameters. AugmentationSequential applies one sampled transform to images, masks, boxes and keypoints together and can invert it. The project is positioning itself as the reference implementation for differentiable vision in the PyTorch ecosystem. About 11.8k GitHub stars; docs at kornia.readthedocs.io.

Use cases
- Add differentiable geometry to a PyTorch training pipeline
- Run batched feature matching and RANSAC on the GPU
- Augment images, masks, boxes and keypoints consistently
Frequently asked questions
- How is Kornia different from torchvision?
- Most of its 1,200+ operators have no torchvision equivalent, and they accept per-sample parameters in batched calls.
- Is Kornia differentiable?
- Yes, geometry and image operations keep gradients with respect to inputs such as depth, pose and camera parameters.
- What license does it use?
- Apache-2.0.