Flip Image OpenCV Python

OpenCV provides the flip() function which allows for flipping an image or video frame horizontally, vertically, or both.



OpenCV documentation:  http://docs.opencv.org/2.4/modules/core/doc/operations_on_arrays.html#flip

  • Ben Shomer

    IMPORTANT notice,
    The flipping here is WRONG!
    What is denoted here as Horizontal flipping is actually vertical and Vs. versa.
    Please correct the code.
    Thank you.