title: cv2.imshow() function is opening a window that always says not responding - python opencv
body: <p>I am trying to run a very simple program. To open and jpg file and display it using the opencv library for python. Initially it all worked fine but now it just opens a window which doesn't show the image but says 'not responding'. I need to go to the task manager and close it!</p>
  
  <pre><code>from numpy import *
  import matplotlib as plt
  import cv2
  
  img = cv2.imread('amandapeet.jpg')
  print img.shape
  
  cv2.imshow('Amanda', img)
  </code></pre>