class_docstr: Utilities for calculating IOU/IOS based match for given ObjectPredictions
docstr: Used for sorting predictions
docstr_tok: ["Used","for","sorting","predictions"]
code: def get_score_func(object_prediction: ObjectPrediction):
      """Used for sorting predictions"""
      return object_prediction.score.value
  
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 PostprocessPredictions obj's underlying member method code with example usage: obj.get_score_func(object_prediction) and returns: object_prediction