Skip to content

kpcyrd/nude-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nude-rs Build Status crates.io docs.rs

High performance nudity detection in rust. This is a port based on nude.js and nude.py.

benchmark

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 (An Algorithm for Nudity Detection).

Please consider this library experimental.

Usage as a library

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);

Running the example binary

cargo run --release --example scan test_data/test2.jpg

License

This project is free software released under the LGPL3+ license.

About

High performance nudity detection in rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages