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
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 |
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 | |
---|---|
Name | Description |
var |
array<Google\Cloud\VideoIntelligence\V1beta2\NormalizedBoundingBox>
|
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 |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |