Class: Google::Cloud::Vision::V1::SafeSearchAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::SafeSearchAnnotation
- 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 computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).
Instance Attribute Summary collapse
-
#adult ⇒ Google::Cloud::Vision::V1::Likelihood
Represents the adult content likelihood for the image.
-
#medical ⇒ Google::Cloud::Vision::V1::Likelihood
Likelihood that this is a medical image.
-
#racy ⇒ Google::Cloud::Vision::V1::Likelihood
Likelihood that the request image contains racy content.
-
#spoof ⇒ Google::Cloud::Vision::V1::Likelihood
Spoof likelihood.
-
#violence ⇒ Google::Cloud::Vision::V1::Likelihood
Likelihood that this image contains violent content.
Instance Attribute Details
#adult ⇒ Google::Cloud::Vision::V1::Likelihood
Returns Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.
405 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 405 class SafeSearchAnnotation; end |
#medical ⇒ Google::Cloud::Vision::V1::Likelihood
Returns Likelihood that this is a medical image.
405 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 405 class SafeSearchAnnotation; end |
#racy ⇒ Google::Cloud::Vision::V1::Likelihood
Returns 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.
405 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 405 class SafeSearchAnnotation; end |
#spoof ⇒ Google::Cloud::Vision::V1::Likelihood
Returns Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.
405 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 405 class SafeSearchAnnotation; end |
#violence ⇒ Google::Cloud::Vision::V1::Likelihood
Returns Likelihood that this image contains violent content.
405 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 405 class SafeSearchAnnotation; end |