Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentFrame.
Video frame level annotation results for explicit content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#pornography_likelihood
def pornography_likelihood() -> ::Google::Cloud::VideoIntelligence::V1beta2::Likelihood
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::Likelihood) — Likelihood of the pornography content..
#pornography_likelihood=
def pornography_likelihood=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::Likelihood
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::Likelihood) — Likelihood of the pornography content..
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::Likelihood) — Likelihood of the pornography content..
#time_offset
def time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
#time_offset=
def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.