Class GoogleCloudVisionV1p4beta1SafeSearchAnnotation
Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1p2beta1.Data
Assembly: Google.Apis.Vision.v1p2beta1.dll
Syntax
public class GoogleCloudVisionV1p4beta1SafeSearchAnnotation : IDirectResponseSchema
Properties
Adult
Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.
Declaration
[JsonProperty("adult")]
public virtual string Adult { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AdultConfidence
Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("adultConfidence")]
public virtual float? AdultConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Medical
Likelihood that this is a medical image.
Declaration
[JsonProperty("medical")]
public virtual string Medical { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MedicalConfidence
Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("medicalConfidence")]
public virtual float? MedicalConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
NsfwConfidence
Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("nsfwConfidence")]
public virtual float? NsfwConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Racy
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.
Declaration
[JsonProperty("racy")]
public virtual string Racy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RacyConfidence
Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("racyConfidence")]
public virtual float? RacyConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Spoof
Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.
Declaration
[JsonProperty("spoof")]
public virtual string Spoof { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SpoofConfidence
Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("spoofConfidence")]
public virtual float? SpoofConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Violence
Likelihood that this image contains violent content.
Declaration
[JsonProperty("violence")]
public virtual string Violence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ViolenceConfidence
Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.
Declaration
[JsonProperty("violenceConfidence")]
public virtual float? ViolenceConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |