class_docstr: This augmentation is deprecated. Please use CropAndPad instead.
class_docstr_tok: ["This","augmentation","is","deprecated",".","Please","use","CropAndPad","instead","."]
code: def __init__(
      self,
      px=None,
      percent=None,
      pad_mode="constant",
      pad_cval=0,
      keep_size=True,
      always_apply=False,
      p=1,
  ):
      super(IAACropAndPad, self).__init__(always_apply, p)
      self.px = px
      self.percent = percent
      self.pad_mode = pad_mode
      self.pad_cval = pad_cval
      self.keep_size = keep_size
      warnings.warn(
          "IAACropAndPad is deprecated. Please use CropAndPad instead",
          FutureWarning,
      )
  
imports: import warnings
  from albumentations.core.bbox_utils import convert_bboxes_from_albumentations, convert_bboxes_to_albumentations
  from albumentations.core.keypoints_utils import convert_keypoints_from_albumentations, convert_keypoints_to_albumentations
  from ..augmentations import Perspective
  from ..core.transforms_interface import BasicTransform, DualTransform, ImageOnlyTransform, to_tuple
label_desc: Use image node_id 1 to create a new IAACropAndPad object from inherited base classes: DualIAATransform with example: obj = IAACropAndPad(px, percent, pad_mode, pad_cval, keep_size, always_apply, p)