spullara

spullara / YahooOpenNSFW / 0.1.1

README.md

Introduction

Yahoo's Open NSFW deep learning model ported to Algorithmia. Takes a data URI or a web URL and returns a confidence value between 0 and 1 of the photo being NSFW.

Input:

  • (Required): Image URL (http or data API urls)

Output

  • Confidence value for nudity (0 means safe-for-work, 1 means absolutely not-safe-for-work)

Examples

Example 1.

  • Parameter 1: Sample Image
"data://deeplearning/example_data/cat.jpeg"

Output:

"0.00013776151172351092"

Example 2.

  • Parameter 1: Sample Image
"data://deeplearning/example_data/partial_nudity.jpeg"

Output:

"0.8214859366416932"

Credit

Image(s) were retrieved from: