Skip to main content

Lightweight Nudity Detection

Project description

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",
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nudenet-3.0.4.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

nudenet-3.0.4-py3-none-any.whl (10.6 MB view details)

Uploaded Python 3

File details

Details for the file nudenet-3.0.4.tar.gz.

File metadata

  • Download URL: nudenet-3.0.4.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for nudenet-3.0.4.tar.gz
Algorithm Hash digest
SHA256 f161f6447bc579d9d5a166ff5eb8d58964ea11b2c4961616ef8c6d8b516a90c6
MD5 a715915b34be39c72a94456854b99eeb
BLAKE2b-256 4b97d16c3d5a467dbb19ecfcec1fdcab7c5848d722cf59ddd1ec4b8384815b39

See more details on using hashes here.

File details

Details for the file nudenet-3.0.4-py3-none-any.whl.

File metadata

  • Download URL: nudenet-3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for nudenet-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2c1783ab99b4f1ca175aca9687d3316d2b6e193750a013fb1558bbdabf409d62
MD5 c2bbb8b01249750e6221c40d34729e79
BLAKE2b-256 fc92386f36b6f7e8f9b9a5b4bade7b3f94d7f83add50f705e237d7ee35205782

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page