Class SafeSearchAnnotation (2.3.0)

public sealed class SafeSearchAnnotation : IMessage<SafeSearchAnnotation>, IEquatable<SafeSearchAnnotation>, IDeepCloneable<SafeSearchAnnotation>, IBufferMessage, IMessage

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Inheritance

Object > SafeSearchAnnotation

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

SafeSearchAnnotation()

public SafeSearchAnnotation()

SafeSearchAnnotation(SafeSearchAnnotation)

public SafeSearchAnnotation(SafeSearchAnnotation other)
Parameter
NameDescription
otherSafeSearchAnnotation

Properties

Adult

public Likelihood Adult { get; set; }

Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.

Property Value
TypeDescription
Likelihood

AdultConfidence

[Obsolete]
public float AdultConfidence { get; set; }

Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single

Medical

public Likelihood Medical { get; set; }

Likelihood that this is a medical image.

Property Value
TypeDescription
Likelihood

MedicalConfidence

[Obsolete]
public float MedicalConfidence { get; set; }

Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single

NsfwConfidence

[Obsolete]
public float NsfwConfidence { get; set; }

Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single

Racy

public Likelihood Racy { get; set; }

Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.

Property Value
TypeDescription
Likelihood

RacyConfidence

[Obsolete]
public float RacyConfidence { get; set; }

Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single

Spoof

public Likelihood Spoof { get; set; }

Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.

Property Value
TypeDescription
Likelihood

SpoofConfidence

[Obsolete]
public float SpoofConfidence { get; set; }

Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single

Violence

public Likelihood Violence { get; set; }

Likelihood that this image contains violent content.

Property Value
TypeDescription
Likelihood

ViolenceConfidence

[Obsolete]
public float ViolenceConfidence { get; set; }

Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.

Property Value
TypeDescription
Single