Reference documentation and code samples for the Cloud Video Intelligence V1 Client class FaceAnnotation.
Deprecated. No effect.
Generated from protobuf message google.cloud.videointelligence.v1.FaceAnnotation
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ thumbnail |
string
Thumbnail of a representative face view (in JPEG format). |
↳ segments |
array<Google\Cloud\VideoIntelligence\V1\FaceSegment>
All video segments where a face was detected. |
↳ frames |
array<Google\Cloud\VideoIntelligence\V1\FaceFrame>
All video frames where a face was detected. |
getThumbnail
Thumbnail of a representative face view (in JPEG format).
Returns | |
---|---|
Type | Description |
string |
setThumbnail
Thumbnail of a representative face view (in JPEG format).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSegments
All video segments where a face was detected.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSegments
All video segments where a face was detected.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\VideoIntelligence\V1\FaceSegment>
|
Returns | |
---|---|
Type | Description |
$this |
getFrames
All video frames where a face was detected.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFrames
All video frames where a face was detected.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\VideoIntelligence\V1\FaceFrame>
|
Returns | |
---|---|
Type | Description |
$this |