LabelLocation
class LabelLocation extends Message
Label location.
Protobuf type Google\Cloud\Videointelligence\V1beta1\LabelLocation
Methods
No description
Video segment. Set to [-1, -1] for video-level labels.
Confidence that the label is accurate. Range: [0, 1].
Confidence that the label is accurate. Range: [0, 1].
Label level.
Label level.
Details
at line 40
__construct()
at line 54
VideoSegment
getSegment()
Video segment. Set to [-1, -1] for video-level labels.
Set to [timestamp, timestamp] for frame-level labels.
Otherwise, corresponds to one of AnnotateSpec.segments
(if specified) or to shot boundaries (if requested).
Generated from protobuf field .google.cloud.videointelligence.v1beta1.VideoSegment segment = 1;
at line 68
setSegment(VideoSegment $var)
Video segment. Set to [-1, -1] for video-level labels.
Set to [timestamp, timestamp] for frame-level labels.
Otherwise, corresponds to one of AnnotateSpec.segments
(if specified) or to shot boundaries (if requested).
Generated from protobuf field .google.cloud.videointelligence.v1beta1.VideoSegment segment = 1;
at line 80
float
getConfidence()
Confidence that the label is accurate. Range: [0, 1].
Generated from protobuf field float confidence = 2;
at line 91
setConfidence(float $var)
Confidence that the label is accurate. Range: [0, 1].
Generated from protobuf field float confidence = 2;
at line 103
int
getLevel()
Label level.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.LabelLevel level = 3;
at line 114
setLevel(int $var)
Label level.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.LabelLevel level = 3;