code: def _get_merged_score(
      pred1: ObjectPrediction,
      pred2: ObjectPrediction,
  ) -> float:
      scores: List[float] = [
          pred.score.value for pred in (pred1, pred2)
      ]
      return max(scores)
  
imports: import copy
  from typing import List
  import numpy
  from sahi.annotation import BoundingBox, Category, Mask
  from sahi.postprocess.utils import calculate_area, calculate_box_union, calculate_intersection_area
  from sahi.prediction import ObjectPrediction
label_desc: Use image node_id 5 for calling the UnionMergePostprocess obj's underlying member method code with example usage: obj._get_merged_score(pred1, pred2) and returns: max