Skip to main content

Detect NSFW

Detect NSFW transformation checks if the image has nude or pornographic content.


Params

Minimum Confidence (m)

This parameter helps to determine the minimum level of confidence that Detect NSFW must have in its prediction before it considers an image inappropriate.

Available values are from 0.1 to 1. The default value is 0.5.

By default, the minimum confidence parameter is set to 0.5, which means that Rekognition will only flag an image as inappropriate if it is at least 50% confident in its prediction.

However, this parameter can be adjusted by the user based on their specific needs. For example, if the user wants to be more conservative in their moderation, they may set a higher minimum confidence threshold (e.g. 0.8) to reduce the chances of false positives. Conversely, if the user wants to be more permissive, they may set a lower minimum confidence threshold (e.g. 0.3) to allow more content through.

note

Instead of getting the output in a traditional CDN URL, you will get a JSON output from the Context API while the CDN URL will return the original image without any modifications.

danger

Image blurred purposefully

The Context API Response tab includes a JSON object that contains the following information:

PropertyDescription
ModerationLabelsAn array of moderation labels, where each label is represented by a JSON object.
NameA string value that represents the name of the moderation label detected in the image. Values can be porn, sexy, and neutral.
ConfidenceA float value between 0.1 and 1 represents the level of confidence that the label is present in the image.

Overall, the Context API Response provides information about any inappropriate or unsafe content detected in the image, along with their confidence levels. This information can be used to determine whether the image is safe for viewing and take appropriate actions, such as flagging or removing the image.

Transform and enhance your images using our powerful AI technology. Organize your images in more efficient manner and our extensible APIs enables seamless integration with your system unleashing the power of our platform. Join the large community of users who use PixelBin to transform their image libraries and achieve excellent performance

Is this page useful?