Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoContext
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Video context and/or feature-specific parameters.
Instance Attribute Summary collapse
-
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
-
#face_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
Config for FACE_DETECTION.
-
#label_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig
Config for LABEL_DETECTION.
-
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
Config for OBJECT_TRACKING.
-
#person_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionConfig
Config for PERSON_DETECTION.
-
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
Video segments to annotate.
-
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
-
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
-
#text_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextDetectionConfig
Config for TEXT_DETECTION.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1VideoContext
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1VideoContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1VideoContext
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1VideoContext.
6320 6321 6322 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
Corresponds to the JSON property explicitContentDetectionConfig
6276 6277 6278 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6276 def explicit_content_detection_config @explicit_content_detection_config end |
#face_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
Config for FACE_DETECTION.
Corresponds to the JSON property faceDetectionConfig
6281 6282 6283 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6281 def face_detection_config @face_detection_config end |
#label_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig
Config for LABEL_DETECTION.
Corresponds to the JSON property labelDetectionConfig
6286 6287 6288 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6286 def label_detection_config @label_detection_config end |
#object_tracking_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
Config for OBJECT_TRACKING.
Corresponds to the JSON property objectTrackingConfig
6291 6292 6293 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6291 def object_tracking_config @object_tracking_config end |
#person_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionConfig
Config for PERSON_DETECTION.
Corresponds to the JSON property personDetectionConfig
6296 6297 6298 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6296 def person_detection_config @person_detection_config end |
#segments ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
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
6303 6304 6305 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6303 def segments @segments end |
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
Corresponds to the JSON property shotChangeDetectionConfig
6308 6309 6310 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6308 def shot_change_detection_config @shot_change_detection_config end |
#speech_transcription_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
Corresponds to the JSON property speechTranscriptionConfig
6313 6314 6315 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6313 def speech_transcription_config @speech_transcription_config end |
#text_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextDetectionConfig
Config for TEXT_DETECTION.
Corresponds to the JSON property textDetectionConfig
6318 6319 6320 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6318 def text_detection_config @text_detection_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 6325 def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @face_detection_config = args[:face_detection_config] if args.key?(:face_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) @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_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 |