code: def _get_merged_category(
      pred1: ObjectPrediction, pred2: ObjectPrediction
  ) -> Category:
      if pred1.score.value > pred2.score.value:
          return pred1.category
      else:
          return pred2.category
  
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 3 for calling the UnionMergePostprocess obj's underlying member method code with example usage: obj._get_merged_category(pred1, pred2) and returns: pred1, pred2