Crates.io | edge-detection |
lib.rs | edge-detection |
version | 0.2.6 |
source | src |
created_at | 2017-10-16 13:22:28.934363 |
updated_at | 2022-05-27 11:44:42.554934 |
description | The canny edge detection algorithm |
homepage | |
repository | https://github.com/polyfloyd/edge-detection-rs |
max_upload_size | |
id | 35863 |
size | 667,146 |
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
);