I\'m using opencv 2.4.2, python 2.7 The following simple code created a window of the correct name, but its content is just blank and doesn\'t show the image:
add cv2.waitKey(0) in the end.
cv2.waitKey(0)