NSFW Content Detection ML Frameworks
Tools and models for detecting, classifying, and filtering sexually explicit or adult content in images and text. Includes pre-trained models, APIs, and libraries across multiple frameworks and languages. Does NOT include general content moderation for other violation types (violence, hate speech) or datasets without detection functionality.
There are 32 nsfw content detection frameworks tracked. 1 score above 70 (verified tier). The highest-rated is infinitered/nsfwjs at 76/100 with 8,818 stars and 86,557 monthly downloads. 1 of the top 10 are actively maintained.
Get all 32 projects as JSON
curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=nsfw-content-detection&limit=20"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
| # | Framework | Score | Tier |
|---|---|---|---|
| 1 |
infinitered/nsfwjs
NSFW detection on the client-side via TensorFlow.js |
|
Verified |
| 2 |
alex000kim/nsfw_data_scraper
Collection of scripts to aggregate image data for the purposes of training... |
|
Established |
| 3 |
mdietrichstein/tensorflow-open_nsfw
Tensorflow Implementation of Yahoo's Open NSFW Model |
|
Established |
| 4 |
GantMan/nsfw_model
Keras model of NSFW detector |
|
Emerging |
| 5 |
infinitered/nsfwjs-mobile
NSFWjs in React Native |
|
Emerging |
| 6 |
TheHamkerCat/NSFW_Detection_API
Rest API Written In Python To Classify NSFW Images. |
|
Emerging |
| 7 |
lovoo/NSFWDetector
A NSFW (aka porn) detector with CoreML |
|
Emerging |
| 8 |
rlleshi/phar
deep learning sex position classifier |
|
Emerging |
| 9 |
NsfwSpy/NsfwSpy.NET
A .NET image and video classifier used to identify explicit/pornographic... |
|
Emerging |
| 10 |
steelcityamir/safe-content-ai
A fast accurate API for detecting NSFW images. |
|
Emerging |
| 11 |
NsfwSpy/NsfwSpy.js
A JavaScript image classifier used to identify explicit/pornographic content... |
|
Emerging |
| 12 |
ebroky/nsfw
🔍 Detect NSFW content with this lightweight HTTP API. Ideal for CPU... |
|
Emerging |
| 13 |
lakshaychhabra/NSFW-Detection-DL
This repo contains Deep learning Implementation for identifying NSFW images. |
|
Emerging |
| 14 |
guptashrey/Content-Moderation-for-Social-Media
Classifier for social media images with 3 categories namely neutral, nsfw... |
|
Emerging |
| 15 |
qeeqbox/image-analyzer
Interface for Image-Related Deep Learning Models (E.g. NSFW, MAYBE and SFW) |
|
Emerging |
| 16 |
M1chlCZ/nsfw_sherlock
Simple drop in API to determine if image is NSFW using TensorFlow |
|
Experimental |
| 17 |
ccuetoh/nsfw
Nudity detection and clasification for Go |
|
Experimental |
| 18 |
mileszim/nsfw-rb
Port of nsfwjs - Use a pre-trained model and the ONNX Runtime to verify the... |
|
Experimental |
| 19 |
AdityaTheDev/NudityDetection-Using-Deeplearning
Nudity/pornography detection using deeplearning. This model is trained using... |
|
Experimental |
| 20 |
ZygoteCode/NsfwSharp
So far, the best C#.NET 9.0 open-source library that uses YOLOv11 with... |
|
Experimental |
| 21 |
doppeltilde/sensitive_content_analysis
Dart package for detecting and alerting users to nudity in images and videos... |
|
Experimental |
| 22 |
SumitM0432/Explicit-Content-Classifier-using-ResNet
The objective of this project is to classify explicit content that contains... |
|
Experimental |
| 23 |
atrifat/nsfw-detector-api
A Simple PoC (Proof of Concept) of NSFW Detector API Server. A core... |
|
Experimental |
| 24 |
thefcraft/nsfw-prompt-detection-sd
NSFW Prompt Detection for Stable Diffusion |
|
Experimental |
| 25 |
darkwaves-ofc/nude-detect
NudeDetect is a Python-based tool for detecting nudity and adult content in... |
|
Experimental |
| 26 |
api4ai/nsfw-examples
API4AI is cloud-native computer vision & AI platform for startups,... |
|
Experimental |
| 27 |
ArshCypherZ/NSFWDetection
Anti-NSFW Project in python using pre-trained model. |
|
Experimental |
| 28 |
OurBigAdventure/Swift_NSFW_Detector
An NSFW image detector for Swift built as an extension on UIImage. |
|
Experimental |
| 29 |
chijete/crafynsfwjs
NSFW.js implementation for image, gif and video. NSFW detection on the... |
|
Experimental |
| 30 |
shane-chris-barker/rust-nsfw-image-checker
A Rust-powered microservice that uses an ONNX model and the nsfw crate to... |
|
Experimental |
| 31 |
jamesponddotco/bonk
[READ-ONLY] CLI tool that uses machine learning to detect nudity in images. |
|
Experimental |
| 32 |
Sylver-Icy/nsfw-classifier
Modular NSFW Text Classification Pipeline A fully modular text... |
|
Experimental |