title: w, h = template.shape[::-1] results in Value Error too many values to unpack
body: <p>Im on <code>Python 2.7 (x86) ,Open CV 3.1.0, Windows 7 (x64)</code></p>
  
  <p>Trying some simple template matching on Open CV</p>
  
  <p><strong>The image</strong></p>
  
  <p><a href="https://i.stack.imgur.com/oJCuI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oJCuI.png" alt="enter image description here"></a></p>
  
  <p><strong>The code</strong></p>
  
  <pre><code>dark_elixir_sample = cv2.imread('dark_elixir_sample.png')
  
  w, h = dark_elixir_sample.shape[::-1]
  </code></pre>
  
  <p>I'm trying to get <code>w,h</code> for further usage in my script, however the script returns the following error.</p>
  
  <p><strong>The error</strong></p>
  
  <pre><code>ValueError: too many values to unpack
  </code></pre>