Expand description
NudeNet ONNX inference + content-tag derivation.
The crate is framework-agnostic: it exposes a NudeDetector that owns
a loaded ONNX session and a pure-functional tagging pipeline that turns
Detections into a typed TagResult. Callers wrap it in whatever
command/handler layer they want (Tauri, axum, CLI).
Structs§
- BBox
- Axis-aligned bounding box in original-image pixel coordinates.
- Detection
- Detector
Config - Nude
Detector - TagResult
Enums§
- Class
- Nude
Error - Rating
- Tag
- Tags emitted by the tagging pipeline. Composite tags (
MultipleWomen,FullNude, …) live alongside leaf tags so consumers don’t have to know the difference.
Functions§
- build_
tags - Build the full tag set for a list of confident detections.
- derive_
rating - Derive the content rating from the set of detected classes. Classes are considered in escalating severity, so a single explicit class beats any number of suggestive ones.