class_docstr: Class for handling detection model predictions.
class_docstr_tok: ["Class","for","handling","detection","model","predictions","."]
code: def __repr__(self):
      return f"""ObjectPrediction<
      bbox: {self.bbox},
      mask: {self.mask},
      score: {self.score},
      category: {self.category}>"""
  
imports: import copy
  from typing import Dict, List, Optional, Union
  import numpy
  from PIL import Image
  from sahi.annotation import ObjectAnnotation
  from sahi.utils.coco import CocoAnnotation, CocoPrediction
  from sahi.utils.cv import read_image_as_pil, visualize_object_predictions
  from sahi.utils.file import Path
label_desc: Use image node_id 5 for calling the ObjectPrediction obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str, self, str, self, str