#4040th of 75 in ML frameworks and libraries

kornia

Differentiable computer vision and geometry operators for PyTorch

Stars
11.4k
License
Apache-2.0
Last commit
Oct 2026
Last release
May 2026
Language
Python
Stars, last 29 weeks+343
31 Mar 2026: 11,097 stars7 Apr 2026: 11,111 stars14 Apr 2026: 11,121 stars21 Apr 2026: 11,132 stars28 Apr 2026: 11,141 stars5 May 2026: 11,148 stars12 May 2026: 11,161 stars19 May 2026: 11,171 stars26 May 2026: 11,177 stars2 Jun 2026: 11,189 stars9 Jun 2026: 11,203 stars16 Jun 2026: 11,211 stars23 Jun 2026: 11,219 stars30 Jun 2026: 11,231 stars7 Jul 2026: 11,246 stars14 Jul 2026: 11,255 stars21 Jul 2026: 11,264 stars28 Jul 2026: 11,277 stars4 Aug 2026: 11,289 stars11 Aug 2026: 11,300 stars18 Aug 2026: 11,306 stars25 Aug 2026: 11,318 stars1 Sept 2026: 11,333 stars8 Sept 2026: 11,343 stars15 Sept 2026: 11,353 stars22 Sept 2026: 11,373 stars29 Sept 2026: 11,391 stars6 Oct 2026: 11,404 stars13 Oct 2026: 11,426 stars20 Oct 2026: 11,440 stars

11,097 on 31 Mar 202611,440 on 20 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Kornia is a PyTorch library of over 500 differentiable image processing, augmentation and geometry ops, including filters, homographies, camera models, epipolar geometry and Lie groups. It also ships pretrained models such as LoFTR, LightGlue, SAM and YuNet, plus an ONNXSequential helper for chaining ONNX models. The README publishes per-module float16/bfloat16 test status and known failures.

Who it is for: PyTorch developers doing vision, augmentation or geometry work

Strengths

  • Batched, differentiable ops that run on GPU tensors inside PyTorch training pipelines
  • Covers filters, augmentation, feature matching, cameras, epipolar geometry and Lie groups in one library
  • Publishes CPU and CUDA test pass rates and known half-precision failures per module
  • Installs with pip install kornia; Apache-2.0 licensed

Weaknesses

  • Half precision is incomplete: about 95% pass in float16 and bfloat16 on CPU
  • Epipolar solvers raise NotImplementedError in half precision on CPU
  • No CI job covers CUDA or MPS half precision; CUDA results are a local run
  • Roadmap favors conformance and benchmarks over new API growth

What it needs

  • GPU optional
  • Needs PyTorch 2.5.1+, kornia_rs (used in quick start), onnx (optional extra)
  • Models: PyTorch, ONNX, LoFTR, LightGlue, SAM

Also in ML frameworks and libraries

See all 75
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks167.9k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.9k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.092 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.091 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT90 out of 100