ShortestEdgeResize

class ShortestEdgeResize(min_size, max_size, sample_style='range', interpolation=cv2.INTER_LINEAR, *, order=None)[source]

Resize the input data with specified shortset edge.

apply(input)[source]

Apply transform on single input data.