title: cv2.imshow() crashes Kernel
body: <p>I am running OpenCV through Jupyter Notebooks and whenever I try to run cv2.imshow() the kernel crashes, no error message or helpful hint - just a plain</p>
  
  <blockquote>
    <p><code>The Kernel appears to have died. It will restart automatically.</code></p>
  </blockquote>
  
  <p>Here is the code I am running...</p>
  
  <pre><code>import cv2 
  input = cv2.imread('images/input.jpg')
  cv2.imshow('Hello World', input)
  cv2.waitKey(0)
  cv2.destroyAllWindows()
  </code></pre>
  
  <p>The code works (albeit differently) when I run the below...</p>
  
  <pre><code>%matplotlib inline
  from matplotlib import pyplot as plt
  import cv2
  image = cv2.imread('images/input.jpg')
  plt.imshow(image)
  plt.show()
  </code></pre>
  
  <p>FYI I am using a completely unaltered copy of BitFusion on AWS.</p>
  
  <p><a href="https://aws.amazon.com/marketplace/pp/B01EYKBEQ0?ref=cns_srchrow" rel="noreferrer">https://aws.amazon.com/marketplace/pp/B01EYKBEQ0?ref=cns_srchrow</a></p>
  
  <p>Any idea what could be going wrong?</p>