code: def distractor_overlay_intensity_helper(
      topleft: Optional[Tuple[float, float]],
      bottomright: Optional[Tuple[float, float]],
      num_overlay_content: int,
      **kwargs,
  ) -> float:
      """
      Computes intensity of any distractor-type transform, which adds some kind
      of media (images, emojis, text, dots, logos) on top of the src video within
      a specified bounding box.
      """
      assert topleft is None or all(
          0.0 <= t <= 1.0 for t in topleft
      ), "Topleft must be in the range [0, 1]"
      assert bottomright is None or all(
          0.0 <= b <= 1.0 for b in bottomright
      ), "Bottomright must be in the range [0, 1]"
      assert (
          isinstance(num_overlay_content, int)
          and num_overlay_content >= 0
      ), "num_overlay_content must be a nonnegative int"
  
      if topleft is None or bottomright is None:
          return 100.0
  
      max_num_overlay_content_val = 100
      num_overlay_content_intensity = (
          num_overlay_content / max_num_overlay_content_val
      )
  
      x1, y1 = topleft
      x2, y2 = bottomright
      distractor_area = (x2 - x1) * (y2 - y1)
      return min(
          (distractor_area * num_overlay_content_intensity) * 100.0,
          100.0,
      )
  
imports: from typing import Any, Dict, List, Optional, Tuple
  import numpy
  from augly.image import intensity, utils
  from augly.video.helpers import get_video_info
label_desc: Use image node_id 46 for calling a global function with example usage: distractor_overlay_intensity_helper(topleft, bottomright, num_overlay_content) and returns: min, int