Nodes/nsfw-shorier_comfyui/Find NudeNet Part
ComfyUI Node

Find NudeNet Part

The full NudeNet readout — every body part, not just the NSFW ones

By phyblas·Created 12 months ago·Updated 4 months ago· 17
Find NudeNet Part
  • image
  • detection
model_resolution

FindNudenetPart is the raw x-ray behind FindNsfwPart. It runs the NudeNet detector and reports every one of its 18 classes - faces, feet, belly, armpits, covered and exposed body parts - not just the five NSFW ones. If FindNsfwPart is the censoring workflow's focused eye, this is the unfiltered scan. You'd reach for it when you want to know what a NudeNet detector sees in an image at all, or when you're evaluating whether the detector is even the right tool for your content.

How it works

It's the simplest node in the pack, input-wise. You give it an image and pick model_resolution (320 or 640). The 320 model is the smaller, faster, cheaper download; 640 catches finer details at the cost of size and runtime. There are no thresholds here and no modes - every class above NudeNet's internal confidence floor comes back. It's literally the base class that FindNsfwPart then filters down to the NSFW labels, so if you've used that node, you've already seen this one's machinery.

The output

  • detection (STRING) - one readout per image in the batch, a list of {label, score, bbox} entries.

Like its sibling, it's typed STRING but is really a list of dicts - inspect it, log it, don't try to math on it. If you want the NSFW-only subset with per-label thresholds, FindNsfwPart is the wrapper for you.

Install

Same pack, same steps - ComfyUI Manager (search "nsfw-shorier") or:

cd ComfyUI/custom_nodes
git clone https://github.com/phyblas/nsfw-shorier_comfyui

First run downloads the NudeNet ONNX from Hugging Face. And one heads-up specific to this family: the NudeNet code imports OpenCV, which isn't listed in the pack's requirements.txt - on a bare install, pip install opencv-python if the pack won't load.

The honest caveat

NudeNet is a photo-trained detector. On realistic images it's genuinely good; on anime it misses obvious content and flags random innocent parts. This is well documented across r/comfyui threads from people trying to build censorship pipelines. Use it as a diagnostic, pair it with CensorNsfwPart for realistic content, and don't expect magic on drawn art.

CategoryNSFW

Inputs (2)

NameTypeDefaultDescription
imageIMAGE
model_resolutionCOMBO2 options: 320, 640

Outputs (1)

NameTypeDescription
detectionSTRING