public sealed class SafeSearchAnnotation : IMessage<SafeSearchAnnotation>, IEquatable<SafeSearchAnnotation>, IDeepCloneable<SafeSearchAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class SafeSearchAnnotation.
Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).
Implements
IMessageSafeSearchAnnotation, IEquatableSafeSearchAnnotation, IDeepCloneableSafeSearchAnnotation, 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 |
Medical
public Likelihood Medical { get; set; }
Likelihood that this is a medical image.
Property Value | |
---|---|
Type | Description |
Likelihood |
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 |
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 |
Violence
public Likelihood Violence { get; set; }
Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.
Property Value | |
---|---|
Type | Description |
Likelihood |