How to convert a python numpy array to an RGB image with Opencv 2.4?,cv2.waitKey()