AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides information about a single type of inappropriate, unwanted, or offensive content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Content moderation in the Amazon Rekognition Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Rekognition.Model.ModerationLabel

Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z

Syntax

C#
public class ModerationLabel

The ModerationLabel type exposes the following members

Constructors

NameDescription
Public Method ModerationLabel()

Properties

NameTypeDescription
Public Property Confidence System.Single

Gets and sets the property Confidence.

Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

Public Property Name System.String

Gets and sets the property Name.

The label name for the type of unsafe content detected in the image.

Public Property ParentName System.String

Gets and sets the property ParentName.

The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

Public Property TaxonomyLevel System.Int32

Gets and sets the property TaxonomyLevel.

The level of the moderation label with regard to its taxonomy, from 1 to 3.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5