Class: Google::Cloud::Videointelligence::V1beta1::VideoContext

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#face_detection_modelString

Returns Model to use for face detection. Supported values: "latest" and "stable" (the default).

Returns:

  • (String)

    Model to use for face detection. Supported values: "latest" and "stable" (the default).



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#label_detection_modeGoogle::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+.

Returns:



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#label_detection_modelString

Returns Model to use for label detection. Supported values: "latest" and "stable" (the default).

Returns:

  • (String)

    Model to use for label detection. Supported values: "latest" and "stable" (the default).



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#safe_search_detection_modelString

Returns Model to use for safe search detection. Supported values: "latest" and "stable" (the default).

Returns:

  • (String)

    Model to use for safe search detection. Supported values: "latest" and "stable" (the default).



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#segmentsArray<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.

Returns:



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#shot_change_detection_modelString

Returns Model to use for shot change detection. Supported values: "latest" and "stable" (the default).

Returns:

  • (String)

    Model to use for shot change detection. Supported values: "latest" and "stable" (the default).



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end

#stationary_cameratrue, 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.

Returns:

  • (true, false)

    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.



88
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 88

class VideoContext; end