Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoContext
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1/classes.rb,
generated/google/apis/videointelligence_v1/representations.rb,
generated/google/apis/videointelligence_v1/representations.rb
Overview
Video context and/or feature-specific parameters.
Instance Attribute Summary collapse
-
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
-
#label_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig
Config for LABEL_DETECTION.
-
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig
Config for OBJECT_TRACKING.
-
#segments ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>
Video segments to annotate.
-
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
-
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
-
#text_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TextDetectionConfig
Config for TEXT_DETECTION.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1VideoContext
constructor
A new instance of GoogleCloudVideointelligenceV1VideoContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1VideoContext
Returns a new instance of GoogleCloudVideointelligenceV1VideoContext.
1346 1347 1348 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
Corresponds to the JSON property explicitContentDetectionConfig
1312 1313 1314 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1312 def explicit_content_detection_config @explicit_content_detection_config end |
#label_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig
Config for LABEL_DETECTION.
Corresponds to the JSON property labelDetectionConfig
1317 1318 1319 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1317 def label_detection_config @label_detection_config end |
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig
Config for OBJECT_TRACKING.
Corresponds to the JSON property objectTrackingConfig
1322 1323 1324 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1322 def object_tracking_config @object_tracking_config end |
#segments ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>
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
1329 1330 1331 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1329 def segments @segments end |
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
Corresponds to the JSON property shotChangeDetectionConfig
1334 1335 1336 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1334 def shot_change_detection_config @shot_change_detection_config end |
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
Corresponds to the JSON property speechTranscriptionConfig
1339 1340 1341 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1339 def speech_transcription_config @speech_transcription_config end |
#text_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TextDetectionConfig
Config for TEXT_DETECTION.
Corresponds to the JSON property textDetectionConfig
1344 1345 1346 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1344 def text_detection_config @text_detection_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1351 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 |