Cloud Video Intelligence V1 Client - Class LogoRecognitionAnnotation (1.13.1)

Reference documentation and code samples for the Cloud Video Intelligence V1 Client class LogoRecognitionAnnotation.

Annotation corresponding to one detected, tracked and recognized logo class.

Generated from protobuf message google.cloud.videointelligence.v1.LogoRecognitionAnnotation

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity Google\Cloud\VideoIntelligence\V1\Entity

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

↳ tracks array<Google\Cloud\VideoIntelligence\V1\Track>

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

↳ segments array<Google\Cloud\VideoIntelligence\V1\VideoSegment>

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

getEntity

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

Returns
TypeDescription
Google\Cloud\VideoIntelligence\V1\Entity|null

hasEntity

clearEntity

setEntity

Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

Parameter
NameDescription
var Google\Cloud\VideoIntelligence\V1\Entity
Returns
TypeDescription
$this

getTracks

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTracks

All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1\Track>
Returns
TypeDescription
$this

getSegments

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSegments

All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1\VideoSegment>
Returns
TypeDescription
$this