code: def test_object_detection(
      coco_visiondata_train, coco_visiondata_test
  ):
      # Arrange
      check = HeatmapComparison()
  
      # Act
      result = check.run(coco_visiondata_train, coco_visiondata_test)
  
      # Assert
      brightness_diff = result.value["diff"]
      assert_that(brightness_diff.mean(), close_to(10.461, 0.001))
      assert_that(brightness_diff.max(), close_to(44, 0.001))
  
      bbox_diff = result.value["diff_bbox"]
      assert_that(bbox_diff.mean(), close_to(5.593, 0.001))
      assert_that(bbox_diff.max(), close_to(23, 0.001))
  
imports: from hamcrest import assert_that, close_to, greater_than, has_length
  from deepchecks.vision.checks import HeatmapComparison
label_desc: Use image node_id 1 for calling a global function with example usage: test_object_detection(coco_visiondata_train, coco_visiondata_test) without return types