Crates.io | nude |
lib.rs | nude |
version | 0.3.0 |
source | src |
created_at | 2019-04-15 13:32:36.11585 |
updated_at | 2020-02-15 17:18:52.136437 |
description | High performance nudity detection |
homepage | |
repository | https://github.com/kpcyrd/nude-rs |
max_upload_size | |
id | 128105 |
size | 500,963 |
High performance nudity detection in rust. This is a port based on nude.js and nude.py.
We are currently going for an identical nudity detection algorithm, future versions may tweak parameters but due to the complexity of this topic we can't provide actual support for false positives or negatives. You are welcome to discuss ideas in the issue tracker but you may have to write a patch yourself.
The original implementation is based on this paper.
Please consider this library experimental.
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);
cargo run --release --example scan test_data/test2.jpg
This project is free software released under the LGPL3+ license.