Class RandomVerticalFlipWithBBox

Inheritance Relationships

Base Type

Class Documentation

class RandomVerticalFlipWithBBox : public mindspore::dataset::TensorTransform

Randomly flip the input image vertically with a given probability and adjust bounding boxes accordingly.

Public Functions

explicit RandomVerticalFlipWithBBox(float prob = 0.5)

Constructor.

Parameters

prob[in] A float representing the probability of flip.

~RandomVerticalFlipWithBBox() = default

Destructor.