Crate enimda [] [src]

Crate to detect image borders and whitespace using entropy-based image border detection algorithm.

Example

extern crate enimda;

use std::path::Path;
use enimda::enimda;

let path = Path::new("test.jpg");
let borders = enimda(&path, 1.0, 100, 2048, 0.25, 0.5, 1.0, 2048, true)?;

println!("{:?}", borders);

Structs

Borders

Borders location

Functions

enimda

Scan image and find its borders