BuildTube Preview About
Back to the feed

Kornia: Run image processing and geometry on PyTorch tensors

Added

Apply image filters, warps, augmentations and feature matching as differentiable PyTorch operations.

For developers building computer vision and robotics models.

What it does

Kornia is a differentiable computer vision library built on PyTorch. It offers image processing, geometric vision and augmentation operators that run on the same device as your input tensors, and most of them keep gradients so a model can learn through them.

How to use it

Install Kornia from pip into a Python environment that has PyTorch, then call its operators, such as Gaussian blur or image warps, on batches of image tensors. The project's documentation also links tutorials and examples.

Common use cases

  • Pass a batch of images with a different blur strength for each one, and you get all the blurred images back from a single call.
  • Give AugmentationSequential images, masks, boxes and keypoints, and you get the same random transform applied to all of them together.
  • Give the depth to 3D function a depth map and camera settings, and you get 3D points that keep gradients with respect to depth.

Can I use this?

Library you install and use in your code

Requirements It runs inside your own Python programs, on the device your PyTorch tensors use. Install it from pip. Licensed under Apache-2.0.

Caveat Speedups in the source come from published benchmarks on an RTX 4090 with batch 32 and vary with hardware and workload; against torchvision on the same GPU, eager Kornia is slower.

Worth knowing For a single fixed-parameter operation, such as one blur or one resize, a few lines of PyTorch or torchvision are just as good, and OpenCV wins single-image uint8 CPU work.

Why it's here

Not trending this week

Last seen on the GitHub trending list on 4 November 2026. It stays on BuildTube so you can still find it.

  • 12,356 people have starred it on GitHub.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is Kornia?
Kornia is a differentiable computer vision library built on PyTorch.
What can I use Kornia for?
Pass a batch of images with a different blur strength for each one, and you get all the blurred images back from a single call. Give AugmentationSequential images, masks, boxes and keypoints, and you get the same random transform applied to all of them together. Give the depth to 3D function a depth map and camera settings, and you get 3D points that keep gradients with respect to depth.
Can I run Kornia on my computer?
Yes. Kornia is a Python library you install with pip and use inside your own PyTorch code, on CPU or GPU.
What do I need to use Kornia?
Python and PyTorch, with Kornia installed from pip. Some features such as ONNX export need extra packages listed in the install guide.
What license does Kornia use?
Licensed under Apache-2.0.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for KorniaDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-kornia-kornia.svg)](https://buildtube.app/p/gh-kornia-kornia/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-kornia-kornia/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Kornia on BuildTube"></iframe>

Back to the feed