LabelAnnotation
class LabelAnnotation extends Message
Label annotation.
Protobuf type Google\Cloud\Videointelligence\V1beta1\LabelAnnotation
Methods
No description
Textual description, e.g. Fixed-gear bicycle
.
Textual description, e.g. Fixed-gear bicycle
.
Language code for description
in BCP-47 format.
Language code for description
in BCP-47 format.
Where the label was detected and with what confidence.
Where the label was detected and with what confidence.
Details
at line 37
__construct()
at line 48
string
getDescription()
Textual description, e.g. Fixed-gear bicycle
.
Generated from protobuf field string description = 1;
at line 59
setDescription(string $var)
Textual description, e.g. Fixed-gear bicycle
.
Generated from protobuf field string description = 1;
at line 71
string
getLanguageCode()
Language code for description
in BCP-47 format.
Generated from protobuf field string language_code = 2;
at line 82
setLanguageCode(string $var)
Language code for description
in BCP-47 format.
Generated from protobuf field string language_code = 2;
at line 94
RepeatedField
getLocations()
Where the label was detected and with what confidence.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;
at line 105
setLocations(array|RepeatedField $var)
Where the label was detected and with what confidence.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;