Cloud Video Intelligence V1 Client - Class FaceFrame (1.12.16)

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

Deprecated. No effect.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ normalized_bounding_boxes array<Google\Cloud\VideoIntelligence\V1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

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
NameDescription
var array<Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox>
Returns
TypeDescription
$this

getTimeOffset

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

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

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

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this