Skip to content

beilika/nsfw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSFW

This project uses Yahoo Open NSFW (Not Safe For Work) to detect images that contain pornographic content. OpenNSFW uses Caffe pretrained neural network models and has a very big success rate.

The output is a float number from 0 to 1. Scores above 0.8 are NSFW. Everything below 0.2 is completely clean.

Installation

Build docker from Dockerfile

docker build -t nsfw .

Run server on 5000 port from docker

docker run -p 5000:80/tcp nsfw

Example

Send cURL request with image on server

curl -X POST -F "image=@test.jpg" http://localhost:5000/nsfw

About

Detect images that contain pornographic content uses neural network

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%