code: def overlay_onto_background_video_intensity(
      overlay_size: Optional[float], metadata: Dict[str, Any], **kwargs
  ) -> float:
      if overlay_size is not None:
          return (1 - overlay_size**2) * 100.0
  
      src_area = metadata["src_width"] * metadata["src_height"]
      dst_area = metadata["dst_width"] * metadata["dst_height"]
      return min(100.0, max(0.0, 1.0 - src_area / dst_area) * 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 26 for calling a global function with example usage: overlay_onto_background_video_intensity(overlay_size, metadata) and returns: min, unknown