Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::VideoContext.
Video context and/or feature-specific parameters.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#explicit_content_detection_config
def explicit_content_detection_config() -> ::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig) — Config for EXPLICIT_CONTENT_DETECTION.
#explicit_content_detection_config=
def explicit_content_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig) — Config for EXPLICIT_CONTENT_DETECTION.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig) — Config for EXPLICIT_CONTENT_DETECTION.
#face_detection_config
def face_detection_config() -> ::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig) — Config for FACE_DETECTION.
#face_detection_config=
def face_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig) — Config for FACE_DETECTION.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig) — Config for FACE_DETECTION.
#label_detection_config
def label_detection_config() -> ::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig) — Config for LABEL_DETECTION.
#label_detection_config=
def label_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig) — Config for LABEL_DETECTION.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig) — Config for LABEL_DETECTION.
#segments
def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
#segments=
def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
#shot_change_detection_config
def shot_change_detection_config() -> ::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig) — Config for SHOT_CHANGE_DETECTION.
#shot_change_detection_config=
def shot_change_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig) — Config for SHOT_CHANGE_DETECTION.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig) — Config for SHOT_CHANGE_DETECTION.