dataeval.utils.preprocessing.clip_box¶ dataeval.utils.preprocessing.clip_box(image_shape, box)¶ Clip the box to inside the provided image dimensions. Parameters:¶ image_shape : tuple[int, ...]¶Image shape (supports CHW or HW format) box : Box¶Bounding box to clip Returns:¶ Clipped bounding box Return type:¶ IntBox