Kornia-rs: A Low-Level 3D Computer Vision Library In Rust
Abstract
kornia-rs is a high-performance 3D computer vision library in Rust that provides memory and thread safety through its ownership model while achieving faster image transformation tasks compared to native Rust alternatives.
We present kornia-rs, a high-performance 3D computer vision library written entirely in native Rust, designed for safety-critical and real-time applications. Unlike C++-based libraries like OpenCV or wrapper-based solutions like OpenCV-Rust, kornia-rs is built from the ground up to leverage Rust's ownership model and type system for memory and thread safety. kornia-rs adopts a statically-typed tensor system and a modular set of crates, providing efficient image I/O, image processing and 3D operations. To aid cross-platform compatibility, kornia-rs offers Python bindings, enabling seamless and efficient integration with Rust code. Empirical results show that kornia-rs achieves a 3~ 5 times speedup in image transformation tasks over native Rust alternatives, while offering comparable performance to C++ wrapper-based libraries. In addition to 2D vision capabilities, kornia-rs addresses a significant gap in the Rust ecosystem by providing a set of 3D computer vision operators. This paper presents the architecture and performance characteristics of kornia-rs, demonstrating its effectiveness in real-world computer vision applications.
Get this paper in your agent:
hf papers read 2505.12425 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper