code: def record_template():
      record = BaseRecord(
          (
              SizeRecordComponent(),
              FilepathRecordComponent(),
              InstancesLabelsRecordComponent(),
              BBoxesRecordComponent(),
          )
      )
  
      class_map = ClassMap(["a", "b", "c"])
      record.set_record_id(0)
      record.set_filepath("none")
      record.set_img_size(ImgSize(700, 700), original=True)
      record.detection.set_class_map(class_map)
      return record
  
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 1 for calling a global function with example usage: record_template() and returns: record