vpi.Image.image_flip

Image.image_flip(self: vpi.Image, flip_mode: vpi.Flip, *, backend: vpi.Backend = vpi.Backend.DEFAULT, out: vpi.Image = None, stream: vpi.Stream = None) vpi.Image

Flips the image.

See also

Refer to the algorithm explanation for more details and usage examples.

Parameters
  • flip_mode (vpi.Flip) – The direction of the flip.

  • out (vpi.Image, optional) – The output for the algorithm.

  • backend (vpi.Backend, optional) – The backend to be used by the algorithm.

  • stream (vpi.Stream, optional) – The stream to be used by the algorithm.

Returns

The image flipped.

Return type

vpi.Image

Caution

Restrictions to several arguments may apply. Check the C API references of the submit function and the group concepts for more details.