Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 686 Bytes

setting_up_for_imageproc.md

File metadata and controls

24 lines (16 loc) · 686 Bytes

Setting Up For imageproc

In the project directory, we add imageproc to the project.

cargo add imageproc

The dependencies in Cargo.toml file should look like this:

[dependencies]
imageproc = "0.25.0"

If we only add imageproc without adding image, we can precede imageproc:: when we use image functions.

let img = imageproc::image::open("my_image.jpg").unwrap();

➡️ Next: Drawing Lines

📘 Back: Table of contents