code: def object_detection_record(samples_source):
      record = ObjectDetectionRecord()
  
      record.set_record_id(1)
      record.set_filepath(
          samples_source / "voc/JPEGImages/2007_000063.jpg"
      )
      record.set_img_size(ImgSize(width=500, height=375))
      record.detection.set_class_map(ClassMap(["a", "b"]))
      record.detection.add_labels_by_id([1, 2])
      record.detection.add_bboxes(
          [BBox.from_xyxy(1, 2, 3, 4), BBox.from_xyxy(10, 20, 30, 40)]
      )
  
      return record
  
imports: import pytest
  from icevision import *
  from icevision.imports import *
  from icevision.models.torchvision import faster_rcnn, keypoint_rcnn
  from icevision.models.ross import efficientdet
  from icevision.models.ross.efficientdet.backbones import *
  import albumentations
label_desc: Use image node_id 26 for calling a global function with example usage: object_detection_record(samples_source) and returns: record