Expand description
extern crate image;
extern crate nude;
let img = image::open("test_data/test2.jpg").expect("failed to open");
let nudity = nude::scan(&img).analyse();
println!("nudity={:?}", nudity);
Structs§
- Analysis
- The final analysis of an image
- Pixel
- A classified pixel in an image
- Scan
- The classification of an image
Functions§
- classify_
skin - Determine if the pixel is likely to be a skin pixel
- scan
- Scan an image skin regions