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!

nsfw1With the Not Safe For Work (NSFW) adult content moderation model, you’re able to determine if an image or video contains nudity or semi-nudity and 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:

bewbs

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?

Now, take this pair of actual boobs … Just kidding, we’re not posting a pic of boobs in our company blog. Who do you think we are, [insert terrible, less awesome competitor name here]?! Just go ahead and sign-up for a free Clarifai account and test your own sketchy photos with our API.

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

nsfw_fb1

Or when Instagram thought this cake was a bunch of nipples?

nsfw_instag

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:

peen

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:

nsfw4Protecting 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.

nsfw2Protecting 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.

nsfw6Curating 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!