Reference documentation and code samples for the Cloud Video Intelligence V1 Client class LabelAnnotation.
Label annotation.
Generated from protobuf message google.cloud.videointelligence.v1.LabelAnnotation
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ entity
↳ category_entities
array< Entity
>
Common categories for the detected entity. For example, when the label is Terrier
, the category is likely dog
. And in some cases there might be more than one categories e.g., Terrier
could also be a pet
.
↳ segments
↳ frames
↳ version
string
Feature version.
getEntity
Detected entity.
hasEntity
clearEntity
setEntity
Detected entity.
$this
getCategoryEntities
Common categories for the detected entity.
For example, when the label is Terrier
, the category is likely dog
. And
in some cases there might be more than one categories e.g., Terrier
could
also be a pet
.
setCategoryEntities
Common categories for the detected entity.
For example, when the label is Terrier
, the category is likely dog
. And
in some cases there might be more than one categories e.g., Terrier
could
also be a pet
.
$this
getSegments
All video segments where a label was detected.
setSegments
All video segments where a label was detected.
$this
getFrames
All video frames where a label was detected.
setFrames
All video frames where a label was detected.
$this
getVersion
Feature version.
string
setVersion
Feature version.
var
string
$this