code: def prediction(predicted_bboxes, predicted_bboxes_wrong):
      pred = record_template()
  
      pred.add_component(ScoresRecordComponent())
      pred.detection.set_labels_by_id([1, 2, 2, 1, 0, 2])
      pred.detection.set_bboxes(
          predicted_bboxes + predicted_bboxes_wrong
      )
      pred.detection.set_scores([0.8, 0.7, 0.5, 0.6, 0.2, 0.4])
      return pred
  
file_path: icevision/tests/metrics/test_confusion_matrix.py
imports: import pytest
  from icevision.all import *
  from icevision.metrics.confusion_matrix.confusion_matrix_utils import *
label_desc: Use image node_id 6 for calling a global function with example usage: prediction(predicted_bboxes, predicted_bboxes_wrong) and returns: pred