Reference documentation and code samples for the Cloud Video Intelligence V1 Client class DetectedAttribute.
A generic detected attribute represented by name in string format.
Generated from protobuf message google.cloud.videointelligence.v1.DetectedAttribute
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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.
↳ confidence
float
Detected attribute confidence. Range [0, 1].
↳ value
string
Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.
getName
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.
string
setName
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.
var
string
$this
getConfidence
Detected attribute confidence. Range [0, 1].
float
setConfidence
Detected attribute confidence. Range [0, 1].
var
float
$this
getValue
Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.
string
setValue
Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.
var
string
$this