Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following sections detail the parameters, inputs and outputs of the plugin.

Advanced Configuration

The plug-ins enrichers provide options for optimizing and configuring their execution.

Configuration NameDescription
Max RetriesIf the execution of the plug-in fails, it is repeated for this number of times.
Behavior on ErrorIf the execution still fails after the Max Retries have been attempted, the plug-in either skips the current record, skips the entire enrichment task, or stops the whole job, depending on this property.
Thread Pool SizeThis property defines the number of parallel threads used by this plug-in. This option is taken into account if the plug-in used is thread safe and declared as such.

Plug-in Parameters

The following table lists the plug-in parameters.

Parameter NameMandatoryTypeDescriptionSample Value
AWS Access Key ID YesStringProvide the Access Key ID which is generated when a user is created in AWS Identity and Access Management (IAM).AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key YesStringProvide the Secret Access Key which is generated when a user is created in AWS Identity and Access Management (IAM). wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
RegionYesString

Specify in which region you want to use Amazon Rekognition. For example, valid regions include: us-east-1 (US East Northern Virginia), us-west-2 (US West Oregon) and eu-west-1 (EU Ireland) regions. See Amazon docs.

us-east-1

Plug-in Inputs

The following table lists the plug-in inputs.

Parameter NameMandatoryTypeDescriptionSample Value
Image URL YesString

Image stored in S3 to send to Amazon Rekognition for moderation

https://s3.amazonaws.com/semarchy-tutorials/10001-MAIN.jpg
Minimum confidence NoFloatSpecifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value. Valid Range: Min 0. Max 100. Plug-in defaults to 0.50

Plug-in Outputs

The following tables list the plug-in outputs.

The output consists of a result status, boolean classification, and confidence scores.


Parameter NameTypeDescriptionSample Value
Is Explicit NudityBoolean

Explicit Nudity Confidence ScoreFloat

Is NudityBoolean

Nudity Confidence ScoreFloat

Is Graphic Male NudityBoolean

Graphic Male Nudity Confidence ScoreFloat

Is Graphic Female NudityBoolean

Graphic Female Nudity Confidence ScoreFloat

Is Sexual ActivityBoolean

Sexual Activity Confidence ScoreFloat

Is Partial NudityBoolean

Partial Nudity Confidence ScoreFloat

Is Suggestive


Suggestive Confidence Score


Is Female Swimwear Or Underwear


Female Swimwear Or Underwear Confidence Score


Is Male Swimwear Or Underwear


Male Swimwear Or Underwear Confidence Score


Is Revealing Clothes


Revealing Clothes Confidence Score


Status code








'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as explicit nudity (top-level category).


97.06847381591797

Float

Estimated confidence in the accuracy of the explicit nudity label.


'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as nudity (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the nudity label.

I

'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as graphic male nudity (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the graphic male nudity label.


'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as graphic female nudity (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the graphic female nudity label.


'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as sexual activity (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the sexual activity label.


'1'

Boolean

Flag (0 or 1) indicating whether the image is labeled as partial nudity (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the partial nudity label.


'0'

Boolean

Flag (0 or 1) indicating whether the image is labeled as suggestive (top-level category).


97.06847381591797

Float

Estimated confidence in the accuracy of the suggestive label.


'0'

Boolean

Flag (0 or 1) indicating whether the image is labeled as female swimwear or underwear (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the female swimwear or underwear label.


'0'

Boolean

Flag (0 or 1) indicating whether the image is labeled as male swimwear or underwear (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the male swimwear or underwear label.


'0'

Boolean

Flag (0 or 1) indicating whether the image is labeled as revealing clothes (child category).


97.06847381591797

Float

Estimated confidence in the accuracy of the revealing clothes label.


200

String

Status of the request.


Obtaining Help

If you have trouble with this plug-in, there are many ways to access the Semarchy Technical Support. The easiest is to email our global Technical Support Center (support@semarchy.com). 

...