But they have just that, from https://github.com/mia-0/0x0
0x0 supports classification of NSFW content via Yahoo’s open_nsfw Caffe neural network model. This works for images and video files