class
HorizontalFlip
extends
_NoParamsGeometricTransform[Empty]HorizontalFlip(p: float = 0.5)Flip left-right with probability p (Albumentations HorizontalFlip).
Mirrors the image about its vertical centre-line, mirrors the mask the same way, and reflects bounding-box / keypoint x-coordinates via the canvas width so every target stays aligned.
Parameters
pfloat= 0.5Probability of applying the flip.