https://github.com/polyfloyd/edge-detection-rs
The Canny edge detection algorithm implemented in Rust
https://github.com/polyfloyd/edge-detection-rs
canny computer-vision
Last synced: 8 months ago
JSON representation
The Canny edge detection algorithm implemented in Rust
- Host: GitHub
- URL: https://github.com/polyfloyd/edge-detection-rs
- Owner: polyfloyd
- License: mit
- Created: 2017-10-16T13:23:17.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T12:06:59.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T22:01:40.128Z (over 1 year ago)
- Topics: canny, computer-vision
- Language: Rust
- Homepage:
- Size: 661 KB
- Stars: 40
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Edge Detection
==============
[](https://crates.io/crates/edge-detection)
[](https://docs.rs/edge-detection/)
An implementation of the Canny edge detection algorithm in Rust. The base for
many computer vision applications.
```rust
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
);
```

