Cloud Video Intelligence V1 Client - Class FaceSegment (1.15.5)

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

Video segment level annotation results for face detection.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ segment Google\Cloud\VideoIntelligence\V1\VideoSegment

Video segment where a face was detected.

getSegment

Video segment where a face was detected.

Returns
Type Description
Google\Cloud\VideoIntelligence\V1\VideoSegment|null

hasSegment

clearSegment

setSegment

Video segment where a face was detected.

Parameter
Name Description
var Google\Cloud\VideoIntelligence\V1\VideoSegment
Returns
Type Description
$this