Cloud Video Intelligence V1 Client - Class ExplicitContentAnnotation (1.12.16)

Reference documentation and code samples for the Cloud Video Intelligence V1 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.v1.ExplicitContentAnnotation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ frames array<Google\Cloud\VideoIntelligence\V1\ExplicitContentFrame>

All video frames where explicit content was detected.

↳ version string

Feature version.

getFrames

All video frames where explicit content was detected.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFrames

All video frames where explicit content was detected.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1\ExplicitContentFrame>
Returns
TypeDescription
$this

getVersion

Feature version.

Returns
TypeDescription
string

setVersion

Feature version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this