code: def get_merged_bbox(
      pred1: ObjectPrediction, pred2: ObjectPrediction
  ) -> BoundingBox:
      box1: List[int] = pred1.bbox.to_xyxy()
      box2: List[int] = pred2.bbox.to_xyxy()
      bbox = BoundingBox(box=calculate_box_union(box1, box2))
      return bbox
  
imports: from collections.abc import Sequence
  from typing import List, Union
  import numpy
  import torch
  from sahi.annotation import BoundingBox, Category, Mask
  from sahi.prediction import ObjectPrediction
label_desc: Use image node_id 11 for calling a global function with example usage: get_merged_bbox(pred1, pred2) and returns: bbox