Class: Google::Cloud::Vision::V1::SafeSearchAnnotation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#adultGoogle::Cloud::Vision::V1::Likelihood

Returns Represents the adult contents likelihood for the image.

Returns:



349
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 349

class SafeSearchAnnotation; end

#medicalGoogle::Cloud::Vision::V1::Likelihood

Returns Likelihood this is a medical image.

Returns:



349
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 349

class SafeSearchAnnotation; end

#spoofGoogle::Cloud::Vision::V1::Likelihood

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

Returns:

  • (Google::Cloud::Vision::V1::Likelihood)

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



349
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 349

class SafeSearchAnnotation; end

#violenceGoogle::Cloud::Vision::V1::Likelihood

Returns Violence likelihood.

Returns:



349
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 349

class SafeSearchAnnotation; end