New
WEBINAR | AI for Marketers: Content Generation and Personalization with Visual Search
April 12, 2016

Moderate, Filter, or Curate Adult Content with Clarifai's NSFW Model

Table of Contents:

Have you ever been innocently browsing the interwebs when suddenly you see something you can’t unsee? Yes, we’ve been there, too. That’s why we created the Not Safe for Work (NSFW) adult content recognition model, available via the Clarifai API. Our NSFW model is the ultimate cockblock … in a good way!

SHOW ME THE DOCUMENTATION


With the Not Safe For Work (NSFW) adult content moderation model, you’re able to determine if an image or video contains nudity or semi-nudityand take appropriate action – whether that means filtering out the image or saving it to your spank bank. We don’t judge.


When an image is passed through the NSFW model, it receives a probability rating for Safe for Work (SFW) or Not Safe for Work (NSFW). Not only does the model handle safe and explicit content, but it also delivers sensible intermediate responses for bikini and lingerie photos. That way, you can decide how you want to treat images across a wide spectrum of nude and semi-nude states.


You’d be surprised at the accuracy with which our model can distinguish NSFW from SFW content. Take this sexy pair of lamps, for instance:

 

We know what you thought at first glance – get your minds outta the gutter! Even though this picture kind of looks NSFW, our model can detect that it’s not at all. In fact, our model can tell that this photo is of lighting! Pretty impressive, huh?

You’ll notice that it’s tough to fool our NSFW model. Remember when Facebook thought an elbow was a boob?

 

Or when Instagram thought this cake was a bunch of nipples

 

 

Our NSFW model doesn’t make such rookie boob mistakes. And we’re particularly good at recognizing butts and dicks, though I’ll spare you the visual demonstration for now. Ok, maybe just one dick pic:

 

We’ve already had quite a few developers and businesses build cool applications with our NSFW model – here are some of the more common use cases we’ve seen:

 

 

Protecting Marketplaces
The NSFW model comes in especially handy if you’re running a site that gets a lot of user-generated content, like auction sites or stock photography marketplaces. When users upload an image or video, you can use the NSFW model to check for nudity and then filter or flag the unwanted content for removal.

 

 

Protecting Users
We’ve also seen a number of social media companies and dating sites using our NSFW model to protect their users from unwanted (and usually unsolicited) nudity. For instance, one dating app uses the NSFW model to say no to dick pics and prevent sexual harassment on their platform.

 

 

Curating Adult Content
While most people who use our NSFW model want to moderate and filter out adult content, some people want to find and curate it instead! To each their own, of course. Some pr0n sites have used our NSFW model to find the best moments in videos to show as thumbnails to entice their viewers, while other adult sites highlight user-generated adult content with our model.

Now that you know all about NSFW, it’s time to get started and browse our documentation for NSFW, or better yet, read this great tutorial Cassidy wrote on how to create your own nudity filter!