Class: Google::Cloud::Videointelligence::V1beta1::VideoContext
- Inherits:
-
Object
- Object
- Google::Cloud::Videointelligence::V1beta1::VideoContext
- Defined in:
- lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb
Overview
Video context and/or feature-specific parameters.
Instance Attribute Summary collapse
-
#face_detection_model ⇒ String
Model to use for face detection.
-
#label_detection_mode ⇒ Google::Cloud::Videointelligence::V1beta1::LabelDetectionMode
If label detection has been requested, what labels should be detected in addition to video-level labels or segment-level labels.
-
#label_detection_model ⇒ String
Model to use for label detection.
-
#safe_search_detection_model ⇒ String
Model to use for safe search detection.
-
#segments ⇒ Array<Google::Cloud::Videointelligence::V1beta1::VideoSegment>
Video segments to annotate.
-
#shot_change_detection_model ⇒ String
Model to use for shot change detection.
-
#stationary_camera ⇒ true, false
Whether the video has been shot from a stationary (i.e. non-moving) camera.
Instance Attribute Details
#face_detection_model ⇒ String
Returns Model to use for face detection. Supported values: "latest" and "stable" (the default).
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#label_detection_mode ⇒ Google::Cloud::Videointelligence::V1beta1::LabelDetectionMode
Returns If label detection has been requested, what labels should be detected in addition to video-level labels or segment-level labels. If unspecified, defaults to +SHOT_MODE+.
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#label_detection_model ⇒ String
Returns Model to use for label detection. Supported values: "latest" and "stable" (the default).
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#safe_search_detection_model ⇒ String
Returns Model to use for safe search detection. Supported values: "latest" and "stable" (the default).
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#segments ⇒ Array<Google::Cloud::Videointelligence::V1beta1::VideoSegment>
Returns 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.
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#shot_change_detection_model ⇒ String
Returns Model to use for shot change detection. Supported values: "latest" and "stable" (the default).
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |
#stationary_camera ⇒ true, false
Returns Whether the video has been shot from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects.
99 |
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 99 class VideoContext; end |