google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1SafeSearchAnnotation View Source

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

Attributes

  • adult (type: String.t, default: nil) - Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.
  • medical (type: String.t, default: nil) - Likelihood that this is a medical image.
  • racy (type: String.t, default: nil) - 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.
  • spoof (type: String.t, default: nil) - Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.
  • violence (type: String.t, default: nil) - Likelihood that this image contains violent content.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1SafeSearchAnnotation{
    adult: String.t(),
    medical: String.t(),
    racy: String.t(),
    spoof: String.t(),
    violence: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.