Skip to main content

Lightweight Nudity Detection

Project description

NudeNet: lightweight Nudity detection

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.1.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nudenet-3.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ddf55112cb7d6c3c89cf38d86257a34b32f2a0b54e94389d5ec0ca6293ea7409
MD5 52e4f7febc0ba4c38987b6d9eacb5c79
BLAKE2b-256 ebca1862f729373c98c34035177b59e514ad97051bd252051dfcfffe682ff2a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nudenet-3.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71e763d363e7deb2ae4f774953dbc4e62de30c8460be25e8a2df6e620768cc65
MD5 4c875d24d5239be0474e3e6787a7ee48
BLAKE2b-256 1bff5cea0df29e8ee0454755cd578178c2c1f83e22e0b3d88c4bb0c0e5bb81c4

See more details on using hashes here.

Supported by

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