mindspore.dataset.vision.c_transforms.HorizontalFlip

class mindspore.dataset.vision.c_transforms.HorizontalFlip[source]

Flip the input image horizontally.

Examples

>>> transforms_list = [c_vision.Decode(), c_vision.HorizontalFlip()]
>>> image_folder_dataset = image_folder_dataset.map(operations=transforms_list,
...                                                 input_columns=["image"])