edge-detection

Crates.ioedge-detection
lib.rsedge-detection
version0.3.0
created_at2017-10-16 13:22:28.934363+00
updated_at2025-07-15 17:31:31.52046+00
descriptionThe canny edge detection algorithm
homepage
repositoryhttps://github.com/polyfloyd/edge-detection-rs
max_upload_size
id35863
size695,330
(polyfloyd)

documentation

README

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

Commit count: 80

cargo fmt