Cloud Video Intelligence V1beta2 API - Class Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig (v0.11.0)

Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig.

Config for LABEL_DETECTION.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#label_detection_mode

def label_detection_mode() -> ::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionMode
Returns

#label_detection_mode=

def label_detection_mode=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionMode
Parameter
Returns

#model

def model() -> ::String
Returns
  • (::String) — Model to use for label detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

#model=

def model=(value) -> ::String
Parameter
  • value (::String) — Model to use for label detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
Returns
  • (::String) — Model to use for label detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

#stationary_camera

def stationary_camera() -> ::Boolean
Returns
  • (::Boolean) — 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. Should be used with SHOT_AND_FRAME_MODE enabled.

#stationary_camera=

def stationary_camera=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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. Should be used with SHOT_AND_FRAME_MODE enabled.
Returns
  • (::Boolean) — 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. Should be used with SHOT_AND_FRAME_MODE enabled.