Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoContext
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1VideoContext
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1VideoContext.
4901 4902 4903 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4901 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
4857 4858 4859 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4857 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
4862 4863 4864 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4862 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
4867 4868 4869 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4867 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
4872 4873 4874 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4872 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
4877 4878 4879 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4877 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
4884 4885 4886 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4884 def segments @segments end |
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
Corresponds to the JSON property shotChangeDetectionConfig
4889 4890 4891 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4889 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
4894 4895 4896 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4894 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
4899 4900 4901 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4899 def text_detection_config @text_detection_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4906 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 |