code: def test_crop_boxes_replay_compose():
      image = np.ones((512, 384, 3))
      bboxes = [
          (78, 42, 142, 80),
          (32, 12, 42, 72),
          (200, 100, 300, 200),
      ]
      labels = [0, 1, 2]
      transform = ReplayCompose(
          [RandomCrop(256, 256, p=1.0)],
          bbox_params=BboxParams(
              format="pascal_voc", min_area=16, label_fields=["labels"]
          ),
      )
  
      input_data = dict(image=image, bboxes=bboxes, labels=labels)
      transformed = transform(**input_data)
      transformed2 = ReplayCompose.replay(
          transformed["replay"], **input_data
      )
  
      np.testing.assert_almost_equal(
          transformed["bboxes"], transformed2["bboxes"]
      )
  
imports: import numpy
  import pytest
  from albumentations import Crop, RandomCrop, RandomResizedCrop, RandomSizedCrop, Rotate
  from albumentations.core.bbox_utils import calculate_bbox_area, convert_bbox_from_albumentations, convert_bbox_to_albumentations, convert_bboxes_to_albumentations, denormalize_bbox, denormalize_bboxes, normalize_bbox, normalize_bboxes
  from albumentations.core.composition import BboxParams, Compose, ReplayCompose
  from albumentations.core.transforms_interface import NoOp
label_desc: Use image node_id 19 for calling a global function with example usage: test_crop_boxes_replay_compose() without return types