Sign inSign up

deepaiorg/nsfw-detector

By deepaiorg

•Updated about 7 years ago

Detects if an image is NSFW. Returns a number between 0 and 1, with 1 being 100% likely to be NSFW.

Image
1

10K+

deepaiorg/nsfw-detector repository overview

⁠

This model has been integrated with ai_integration⁠ for seamless portability across hosting providers.

⁠Overview

This repository contains an implementation of Yahoo's Open NSFW Classifier⁠ rewritten in tensorflow.

Nvidia-Docker is required to run this image.

The original caffe weights have been extracted using Caffe to TensorFlow⁠.

⁠For more details, and an enhanced version, see NSFW Detector⁠ on Deep AI⁠

⁠Quick Start

docker pull deepaiorg/nsfw-detector

⁠HTTP
nvidia-docker run --rm -it -e MODE=http -p 5000:5000 deepaiorg/nsfw-detector

Open your browser to localhost:5000 (or the correct IP address)

⁠Command Line

Save your image as content.jpg in the current directory.

nvidia-docker run --rm -it -v `pwd`:/shared -e MODE=command_line deepaiorg/nsfw-detector --image /shared/content.jpg --output /shared/output.jpg

⁠Docker build

docker build -t nsfw-detector .

Simplification, streamlining, and updating to work in the year 2019 by DeepAI.

Tag summary

Content type

Image

Digest

Size

1.6 GB

Last updated

about 7 years ago

docker pull deepaiorg/nsfw-detector