A content filter that knows its anatomy
An open-source YOLOv8 wrapper that detects 18 anatomical classes locally, because binary 'NSFW' flags are too blunt for real moderation.

What it does
NudeNet is a pre-trained image detector that spots nudity and partial nudity across 18 anatomical categories — from exposed genitalia to covered armpits. It wraps YOLOv8 models in a Python library that includes a built-in censor helper, and the project maintains a browser demo that runs inference locally via ONNX without uploading images. A Dockerized REST endpoint is also provided for server-side use.
The interesting bit
Most safety classifiers reduce an image to a single “unsafe” score; NudeNet instead returns bounding boxes for specific body parts, letting you censor only what you need to. That granularity is rare in open-source moderation tools.
Key highlights
- Built on Ultralytics YOLOv8n and YOLOv8m, with both 320×320 and 640×640 resolution checkpoints available in ONNX and PyTorch formats.
- The lightweight
320nmodel ships inside the Python package by default; the heavier640mmodel can be swapped in for higher-resolution work. - Detects 18 distinct labels, distinguishing between exposed and covered variants of anatomy, faces, feet, and armpits.
- Includes a browser demo that processes images client-side, plus a Docker container exposing a REST API for backend integration.
Caveats
- The sole maintainer admits they have become busy and are actively seeking replacements, so the project’s future velocity depends on new contributors.
Verdict
Worth evaluating if you need self-hosted content moderation with granular control over what gets flagged and why. Skip it if you require a mature, actively maintained ecosystem or enterprise SLAs.
Frequently asked
- What is notAI-tech/NudeNet?
- An open-source YOLOv8 wrapper that detects 18 anatomical classes locally, because binary 'NSFW' flags are too blunt for real moderation.
- Is NudeNet open source?
- Yes — notAI-tech/NudeNet is open source, released under the AGPL-3.0 license.
- What language is NudeNet written in?
- notAI-tech/NudeNet is primarily written in Python.
- How popular is NudeNet?
- notAI-tech/NudeNet has 2.4k stars on GitHub.
- Where can I find NudeNet?
- notAI-tech/NudeNet is on GitHub at https://github.com/notAI-tech/NudeNet.