GitHunt
PO

polyfloyd/edge-detection-rs

Moved to https://codeberg.org/polyfloyd/rust-edge-detection

Edge Detection

Crate
Documentation

An implementation of the Canny edge detection algorithm in Rust. The base for
many computer vision applications.

let source_image = image::open("testdata/line-simple.png")
    .expect("failed to read image");

let detection = edge_detection::canny(
    source_image,
    1.2,  // sigma
    0.2,  // strong threshold
    0.01, // weak threshold
);

alt tag

alt tag

Languages

Rust100.0%

Contributors

MIT License
Created October 16, 2017
Updated December 18, 2025
polyfloyd/edge-detection-rs | GitHunt