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).
Implements
IMessage<SafeSearchAnnotation>, IEquatable<SafeSearchAnnotation>, IDeepCloneable<SafeSearchAnnotation>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
SafeSearchAnnotation()
public SafeSearchAnnotation()
SafeSearchAnnotation(SafeSearchAnnotation)
public SafeSearchAnnotation(SafeSearchAnnotation other)
Parameter | |
---|---|
Name | Description |
other | SafeSearchAnnotation |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Single |
Medical
public Likelihood Medical { get; set; }
Likelihood that this is a medical image.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Single |
Violence
public Likelihood Violence { get; set; }
Likelihood that this image contains violent content.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Single |