Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 976 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 976 Bytes

Edge Detection

Build Status 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")
    .to_luma();
let detection = edge_detection::canny(
    source_image,
    1.2,  // sigma
    0.2,  // strong threshold
    0.01, // weak threshold
);

alt tag

alt tag