title: OpenCV putText does not work after flipping the image
body: <p>I'd like to grab images from the camera and flip them left/right so that the view performs like a mirror. However, I also like to add some text to the view, but it turns out that after flipping the image using <code>np.fliplr(frame)</code>, <code>cv.putText</code> does no longer work.</p>
  
  <p>Here is my minimal example using <code>python 3.5.2</code>:</p>
  
  <pre><code>import numpy as np
  import cv2
  import platform
  
  if __name__ == "__main__":
      print("python version:", platform.python_version())
      cap = cv2.VideoCapture(0)
      while(True):
          # Capture frame-by-frame
          ret, frame = cap.read()
  
          cv2.putText(frame,'Hello World : Before flip',(100, 100), cv2.FONT_HERSHEY_SIMPLEX, 1,(255,255,255),2,cv2.LINE_AA)
          frame = np.fliplr(frame)
          cv2.putText(frame,'Hello World : After flip',(100, 200), cv2.FONT_HERSHEY_SIMPLEX, 1,(255,255,255),2,cv2.LINE_AA)
  
          # Process the keys
          key = cv2.waitKey(1) &amp; 0xFF
          if key == ord('q'):
              print("quit")
              break
          # show the images
          cv2.imshow('frame',frame)
  
      cap.release()
      cv2.destroyAllWindows()
  </code></pre>
  
  <p>Resulting frame w/ flip:
  <a href="https://i.stack.imgur.com/swdqm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/swdqm.png" alt="enter image description here"></a></p>
  
  <p>Resulting frame w/o flip:
  <a href="https://i.stack.imgur.com/9G575.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9G575.png" alt="enter image description here"></a></p>