Cloud Video Intelligence V1beta2 Client - Class FaceFrame (1.15.5)

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

Video frame level annotation results for face detection.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1beta2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ normalized_bounding_boxes
array< Google\Cloud\VideoIntelligence\V1beta2\NormalizedBoundingBox >

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

↳ time_offset
Google\Protobuf\Duration

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

getNormalizedBoundingBoxes

Normalized Bounding boxes in a frame.

There can be more than one boxes if the same face is detected in multiple locations within the current frame.

Returns
Type
Description

setNormalizedBoundingBoxes

Normalized Bounding boxes in a frame.

There can be more than one boxes if the same face is detected in multiple locations within the current frame.

Parameter
Name
Description
Returns
Type
Description
$this

getTimeOffset

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

Returns
Type
Description

hasTimeOffset

clearTimeOffset

setTimeOffset

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: