All Transforms
Loading...
CropAndPad
Crop and pad images by pixel amounts or fractions of image sizes.
Execute Transform
Parameters
View Transform Details
px
int | tuple[int, int] | tuple[int, int, int, int] | tuple[int | tuple[int, int] | list[int], int | tuple[int, int] | list[int], int | tuple[int, int] | list[int], int | tuple[int, int] | list[int]] | None
percent
float | tuple[float, float] | tuple[float, float, float, float] | tuple[float | tuple[float, float] | list[float], float | tuple[float, float] | list[float], float | tuple[float, float] | list[float], float | tuple[float, float] | list[float]] | None
keep_size
bool
True
False
sample_independently
bool
True
False
interpolation
cv2.INTER_NEAREST
cv2.INTER_LINEAR
cv2.INTER_CUBIC
cv2.INTER_AREA
cv2.INTER_LANCZOS4
cv2.INTER_BITS
cv2.INTER_NEAREST_EXACT
cv2.INTER_MAX
mask_interpolation
cv2.INTER_NEAREST
cv2.INTER_LINEAR
cv2.INTER_CUBIC
cv2.INTER_AREA
cv2.INTER_LANCZOS4
cv2.INTER_BITS
cv2.INTER_NEAREST_EXACT
cv2.INTER_MAX
border_mode
cv2.BORDER_CONSTANT
cv2.BORDER_REPLICATE
cv2.BORDER_REFLECT
cv2.BORDER_WRAP
cv2.BORDER_DEFAULT
cv2.BORDER_TRANSPARENT
fill
float | Sequence[float]
fill_mask
float | Sequence[float]
Bounding Box Parameters
Min Area:
Min Visibility:
Keypoint Parameters
Remove Invisible
Image
(733x484x3)
Mask
(733x484x3)
BBoxes
(733x484x3)
Keypoints
(733x484x3)
Image
Waiting for transform...
Mask
Waiting for transform...
BBoxes
Waiting for transform...
Keypoints
Waiting for transform...