labelDetectionMode property

String? labelDetectionMode
getter/setter pair

What labels should be detected with LABEL_DETECTION, in addition to video-level labels or segment-level labels.

If unspecified, defaults to SHOT_MODE. Possible string values are:

  • "LABEL_DETECTION_MODE_UNSPECIFIED" : Unspecified.
  • "SHOT_MODE" : Detect shot-level labels.
  • "FRAME_MODE" : Detect frame-level labels.
  • "SHOT_AND_FRAME_MODE" : Detect both shot-level and frame-level labels.

Implementation

core.String? labelDetectionMode;