VertexAutoMLVideoConfig constructor

VertexAutoMLVideoConfig({
  1. double? confidenceThreshold,
  2. Iterable<String>? blockedLabels,
  3. int? maxPredictions,
  4. double? boundingBoxSizeLimit,
})

Implementation

factory VertexAutoMLVideoConfig({
  $core.double? confidenceThreshold,
  $core.Iterable<$core.String>? blockedLabels,
  $core.int? maxPredictions,
  $core.double? boundingBoxSizeLimit,
}) {
  final $result = create();
  if (confidenceThreshold != null) {
    $result.confidenceThreshold = confidenceThreshold;
  }
  if (blockedLabels != null) {
    $result.blockedLabels.addAll(blockedLabels);
  }
  if (maxPredictions != null) {
    $result.maxPredictions = maxPredictions;
  }
  if (boundingBoxSizeLimit != null) {
    $result.boundingBoxSizeLimit = boundingBoxSizeLimit;
  }
  return $result;
}