Reference documentation and code samples for the Cloud Video Intelligence V1 Client class ExplicitContentFrame.
Video frame level annotation results for explicit content.
Generated from protobuf message google.cloud.videointelligence.v1.ExplicitContentFrame
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ time_offset
Google\Protobuf\Duration
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
↳ pornography_likelihood
int
Likelihood of the pornography content..
getTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
hasTimeOffset
clearTimeOffset
setTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
$this
getPornographyLikelihood
Likelihood of the pornography content..
Generated from protobuf field .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2;
int
setPornographyLikelihood
Likelihood of the pornography content..
Generated from protobuf field .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2;
var
int
$this