Class: Google::Cloud::VideoIntelligence::V1::DetectedAttribute
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1::DetectedAttribute
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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, for example, glasses, dark_glasses, mouth_open.
-
#value ⇒ ::String
Text value of the detection result.
Instance Attribute Details
#confidence ⇒ ::Float
Returns Detected attribute confidence. Range [0, 1].
476 477 478 479 |
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 476 class DetectedAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.
476 477 478 479 |
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 476 class DetectedAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.
476 477 478 479 |
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 476 class DetectedAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |