Nudity detection with re-trained Tensorflow MobileNet Model. Accuracy is 92.2% based on my dataset.
$ pip install nudity
- Python3.5+
via command-line
$ nudity --image=IMAGE_FILE
via Python Module
from nudity import Nudity
nudity = Nudity();
print(nudity.has('/file/path/example.jpg'))
# gives you True or False
print(nudity.score('/file/path/example.jpg'))
# gives you nudity score 0 - 1