{"library":"nudenet","title":"NudeNet","description":"A lightweight nudity detection library for Python that provides deep learning-based classifiers for detecting nudity in images. As of version 3.4.2 (weights updated separately), the package supports labeling images as 'safe' or 'unsafe' and includes support for both CPU and GPU inference. The major v3 series introduced a new detector API and breaking import changes. Releases are intermittent with version bumps tied to model weights.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install nudenet"],"cli":null},"imports":["from nudenet import Detector","from nudenet import NudeDetector"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from nudenet import Detector\n\n# Initialize detector (auto-downloads weights)\ndetector = Detector()\n\n# Classify an image\nresult = detector.detect('path/to/image.jpg')\nprint(result)\n# Example output: [{'box': [0.0, 0.0, 100, 100], 'score': 0.99, 'label': 'EXPOSED_BREAST_F'}]","lang":"python","description":"Initialize the detector and classify an image. The detect method returns a list of detections with bounding boxes, scores, and labels.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}