← Back to all transforms
Lambda
Description
A flexible transformation class for using user-defined transformation functions per targets. Function signature must include **kwargs to accept optional arguments like interpolation method, image size, etc: Args: image: Image transformation function. mask: Mask transformation function. keypoint: Keypoint transformation function. bbox: BBox transformation function. p: probability of applying the transform. Default: 1.0. Targets: image, mask, bboxes, keypoints Image types: uint8, float32 Number of channels: Any