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, Some(10), Some(512), Some(50), Some(0.25), Some(0.5), Some(false))?;

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

Structs

Borders

Borders location

Functions

enimda

Scan image and find its borders