Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoContext
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1beta2/classes.rb,
generated/google/apis/videointelligence_v1beta2/representations.rb,
generated/google/apis/videointelligence_v1beta2/representations.rb
Overview
Video context and/or feature-specific parameters.
Instance Attribute Summary collapse
-
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
-
#label_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig
Config for LABEL_DETECTION.
-
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
Config for OBJECT_TRACKING.
-
#segments ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>
Video segments to annotate.
-
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
-
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
-
#text_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextDetectionConfig
Config for TEXT_DETECTION.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2VideoContext
constructor
A new instance of GoogleCloudVideointelligenceV1beta2VideoContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2VideoContext
Returns a new instance of GoogleCloudVideointelligenceV1beta2VideoContext.
1947 1948 1949 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
Corresponds to the JSON property explicitContentDetectionConfig
1913 1914 1915 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1913 def explicit_content_detection_config @explicit_content_detection_config end |
#label_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig
Config for LABEL_DETECTION.
Corresponds to the JSON property labelDetectionConfig
1918 1919 1920 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1918 def label_detection_config @label_detection_config end |
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
Config for OBJECT_TRACKING.
Corresponds to the JSON property objectTrackingConfig
1923 1924 1925 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1923 def object_tracking_config @object_tracking_config end |
#segments ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>
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.
Corresponds to the JSON property segments
1930 1931 1932 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1930 def segments @segments end |
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
Corresponds to the JSON property shotChangeDetectionConfig
1935 1936 1937 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1935 def shot_change_detection_config @shot_change_detection_config end |
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
Corresponds to the JSON property speechTranscriptionConfig
1940 1941 1942 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1940 def speech_transcription_config @speech_transcription_config end |
#text_detection_config ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextDetectionConfig
Config for TEXT_DETECTION.
Corresponds to the JSON property textDetectionConfig
1945 1946 1947 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1945 def text_detection_config @text_detection_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1952 1953 1954 1955 1956 1957 1958 1959 1960 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1952 def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) @segments = args[:segments] if args.key?(:segments) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @text_detection_config = args[:text_detection_config] if args.key?(:text_detection_config) end |