code: def bbox_crop(
      bbox: BoxInternalType,
      x_min: int,
      y_min: int,
      x_max: int,
      y_max: int,
      rows: int,
      cols: int,
  ):
      """Crop a bounding box.
  
      Args:
          bbox (tuple): A bounding box `(x_min, y_min, x_max, y_max)`.
          x_min (int):
          y_min (int):
          x_max (int):
          y_max (int):
          rows (int): Image rows.
          cols (int): Image cols.
  
      Returns:
          tuple: A cropped bounding box `(x_min, y_min, x_max, y_max)`.
  
      """
      crop_coords = x_min, y_min, x_max, y_max
      crop_height = y_max - y_min
      crop_width = x_max - x_min
      return crop_bbox_by_coords(
          bbox, crop_coords, crop_height, crop_width, rows, cols
      )
  
imports: from typing import Optional, Sequence, Tuple
  import cv2
  import numpy
  from albumentations.augmentations.utils import _maybe_process_in_chunks, preserve_channel_dim
  from ...core.bbox_utils import denormalize_bbox, normalize_bbox
  from ...core.transforms_interface import BoxInternalType, KeypointInternalType
  from ..geometric import functional
label_desc: Use image node_id 12 for calling a global function with example usage: bbox_crop(bbox, x_min, y_min, x_max, y_max, rows, cols) and returns: crop_bbox_by_coords