Skip to content

IrisNative Rust Computer Vision

A fast computer vision library in pure Rust.

Iris Logo

NOTE

This project is still in active development. APIs and features may change before the first stable release.

Iris Documentation โ€‹

Welcome to the official documentation for Iris โ€” a pure-Rust computer vision library. Explore the guides below to get started:

Getting Started โ€‹

Install Iris in your project, load an image, apply a Gaussian blur, detect edges with Canny, and save the result โ€” all in a few lines of Rust.

Installation โ€‹

Cargo features, backend options (WGPU, CUDA, LibTorch, Ndarray), and build configuration. Customize Iris for your hardware and use case.

Image Representation โ€‹

How images are represented as Burn tensors with shape [Channels, Height, Width]. Create, load, save, and query image properties.

Image Filters & Blur โ€‹

Box blur, Gaussian blur, median filter, bilateral filter, and separable 2D filtering โ€” all parallelized with Rayon or accelerated on GPU.

Edge Detection โ€‹

Canny edge detection, Sobel, Scharr, and Laplacian gradient operators for structural analysis and feature extraction.

DNN & ONNX Inference โ€‹

Load and run ONNX, Safetensors, and PyTorch bin models. Preprocess inputs with blob_from_image and filter results with NMS.

API Reference โ€‹

Full reference for all types, modules, and functions โ€” Image, Point, Rect, Scalar, filters, edges, morphology, DNN, and GUI.

Released under the MIT License.