Skip to main content

NudeNet: lightweight Nudity detection

https://nudenet.notai.tech/ in-browser demo

pip install --upgrade nudenet
from nudenet import NudeDetector
nude_detector = NudeDetector()
nude_detector.detect('image.jpg') # Returns list of detections
detection_example = [
 {'class': 'BELLY_EXPOSED',
  'score': 0.799403190612793,
  'box': [64, 182, 49, 51]},
 {'class': 'FACE_FEMALE',
  'score': 0.7881264686584473,
  'box': [82, 66, 36, 43]},
 ]
all_labels = [
    "FEMALE_GENITALIA_COVERED",
    "FACE_FEMALE",
    "BUTTOCKS_EXPOSED",
    "FEMALE_BREAST_EXPOSED",
    "FEMALE_GENITALIA_EXPOSED",
    "MALE_BREAST_EXPOSED",
    "ANUS_EXPOSED",
    "FEET_EXPOSED",
    "BELLY_COVERED",
    "FEET_COVERED",
    "ARMPITS_COVERED",
    "ARMPITS_EXPOSED",
    "FACE_MALE",
    "BELLY_EXPOSED",
    "MALE_GENITALIA_EXPOSED",
    "ANUS_COVERED",
    "FEMALE_BREAST_COVERED",
    "BUTTOCKS_COVERED",
]

Metadata

Release files for nudenet 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nudenet 3.0.4
File Size Uploaded
nudenet-3.0.4.tar.gz 10.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nudenet 3.0.4
File Interpreter ABI Platform
nudenet-3.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 MB

Release files / nudenet-3.0.4.tar.gz

Download URL nudenet-3.0.4.tar.gz
Size 10.6 MB
Tags Source
SHA-256 checksum
How to use checksums
f161f6447bc579d9d5a166ff5eb8d58964ea11b2c4961616ef8c6d8b516a90c6
BLAKE2b-256 checksum
How to use checksums
4b97d16c3d5a467dbb19ecfcec1fdcab7c5848d722cf59ddd1ec4b8384815b39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / nudenet-3.0.4-py3-none-any.whl

Download URL nudenet-3.0.4-py3-none-any.whl
Size 10.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2c1783ab99b4f1ca175aca9687d3316d2b6e193750a013fb1558bbdabf409d62
BLAKE2b-256 checksum
How to use checksums
fc92386f36b6f7e8f9b9a5b4bade7b3f94d7f83add50f705e237d7ee35205782
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page