Cloud Video Intelligence V1beta2 Client - Class FaceSegment (1.14.2)

Reference documentation and code samples for the Cloud Video Intelligence V1beta2 Client class FaceSegment.

Video segment level annotation results for face detection.

Generated from protobuf message google.cloud.videointelligence.v1beta2.FaceSegment

Namespace

Google \ Cloud \ VideoIntelligence \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ segment Google\Cloud\VideoIntelligence\V1beta2\VideoSegment

Video segment where a face was detected.

getSegment

Video segment where a face was detected.

Returns
TypeDescription
Google\Cloud\VideoIntelligence\V1beta2\VideoSegment|null

hasSegment

clearSegment

setSegment

Video segment where a face was detected.

Parameter
NameDescription
var Google\Cloud\VideoIntelligence\V1beta2\VideoSegment
Returns
TypeDescription
$this