In this example the camera has been positioned upside-down. If the camera is placed in this position, the image must be flipped to appear the right way up.
www.raspberrypi.org