nudenet
Lightweight Nudity Detection
Decision gist · record as of 2026-08-14
Yes, if you need lightweight nudity detection. Low install friction, permissive MIT license, active maintenance, and no known vulnerabilities. The 320n model is included by default for quick setup. Trade-off: the maintainer is seeking contributors, so long-term feature development may be limited; verify accuracy on your specific image types before production deployment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; onnxruntime and opencv-python-headless must be installed (handled by pip).
- Low friction: pure Python wheel with three runtime dependencies (numpy, onnxruntime, opencv-python-headless).
- Actively maintained as of June 2026, with 2427 GitHub stars.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2024-07-03 (772 days) · last repo commit 2026-06-09 · 2,427 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,464 downloads/mo, #13,583 on PyPI
Alternatives
Verify before relying
pip install nudenet
from nudenet import NudeDetector
detector = NudeDetector()
detections = detector.detect('image.jpg')
print(detections) # Returns list of dicts with 'class', 'score', 'box'- Accuracy and false-positive rates across different image types and lighting conditions.
- Performance characteristics (inference time, memory usage) on typical hardware.
- Whether the 320n model is suitable for production use or if 640m is recommended for better accuracy.
What it is and what it does
NudeNet is a Python library for detecting nudity and exposed body parts in images using ONNX-based neural networks. It wraps ultralytics YOLOv8 models (320n at 320x320 or 640m at 640x640 resolution) to classify image regions into categories like FEMALE_GENITALIA_EXPOSED, FACE_FEMALE, BELLY_EXPOSED, and others. The detector returns bounding boxes with confidence scores for each detected region.
The package is designed for content moderation workflows: you can scan individual images or batches, accept file paths or in-memory image objects (numpy arrays, bytes, or file handles), and optionally blur or censor detected regions. A Docker image is also provided for server-side deployment. The 320n model ships with the package by default; larger models can be downloaded separately.
Use it for
- Content moderation for user-generated image uploads on social platforms or forums.
- Automated filtering of adult content in image galleries or search results.
- Batch processing of large image datasets to identify and flag potentially sensitive material.
- Client-side nudity detection in browser-based applications using the in-browser demo.
- Building a censoring pipeline to blur or redact exposed regions before display or storage.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight nudity detection.
Low install friction, permissive MIT license, active maintenance, and no known vulnerabilities. The 320n model is included by default for quick setup. Trade-off: the maintainer is seeking contributors, so long-term feature development may be limited; verify accuracy on your specific image types before production deployment.
Install
nudenet on PyPI
Before you install
Low friction: pure Python wheel with three runtime dependencies (numpy, onnxruntime, opencv-python-headless). Actively maintained as of June 2026, with 2427 GitHub stars. Maintainer is seeking contributors but the repo remains current.
Requires Python 3.6 or later; onnxruntime and opencv-python-headless must be installed (handled by pip).
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install nudenet
from nudenet import NudeDetector
detector = NudeDetector()
detections = detector.detect('image.jpg')
print(detections) # Returns list of dicts with 'class', 'score', 'box'
Verify before relying
- Accuracy and false-positive rates across different image types and lighting conditions.
- Performance characteristics (inference time, memory usage) on typical hardware.
- Whether the 320n model is suitable for production use or if 640m is recommended for better accuracy.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesnumpyonnxruntimeopencv-python-headless |
| Maintenance | Actively maintained 772 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,464 / month, #13,583 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: Implementation :: CPython |
Evidence: nudenet-3.4.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “nudity detection in images”
- nudenetDetects nudity in images using lightweight ONNX models, returning…
- sahiSAHI performs sliced inference on large images to detect and segment…
- qrdetDetects and segments QR codes in images using a YOLOv8-based model,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also onnxslim · cnstd · lightly · onnxtr · qrdet · ultralytics · lightly-utils · alibi-detect · rembg · yolov5