RandomResize

class RandomResize(scale_range, interpolation=cv2.INTER_LINEAR, *, order=None)[source]

Resize the input data randomly.

Parameters
  • scale_range – range of scaling.

  • order – the same with VisionTransform.

apply(input)[source]

Apply transform on single input data.