Reference documentation and code samples for the Cloud Video Intelligence V1beta2 Client class ExplicitContentAnnotation.
Explicit content annotation (based on per-frame visual signals only).
If no explicit content has been detected in a frame, no annotations are present for that frame.
Generated from protobuf message google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
Namespace
Google \ Cloud \ VideoIntelligence \ V1beta2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ frames |
array<Google\Cloud\VideoIntelligence\V1beta2\ExplicitContentFrame>
All video frames where explicit content was detected. |
getFrames
All video frames where explicit content was detected.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFrames
All video frames where explicit content was detected.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\VideoIntelligence\V1beta2\ExplicitContentFrame>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|