Class: Google::Cloud::VideoIntelligence::V1::DetectedAttribute
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1::DetectedAttribute
- Defined in:
- lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb
Overview
A generic detected attribute represented by name in string format.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Detected attribute confidence.
-
#name ⇒ String
The name of the attribute, i.e.
-
#value ⇒ String
Text value of the detection result.
Instance Attribute Details
#confidence ⇒ Float
Returns Detected attribute confidence. Range [0, 1].
344 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 344 class DetectedAttribute; end |
#name ⇒ String
Returns The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc. A full list of supported type names will be provided in the document.
344 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 344 class DetectedAttribute; end |
#value ⇒ String
Returns Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.
344 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 344 class DetectedAttribute; end |