title: Opencv image shape tuple unpacking
body: <pre><code># Importing the libraries
  import numpy as np
  import cv2
  
  
  # Load two images
  img1 = cv2.imread(r'C:\Users\user1\Pictures\messi.jpg')
  img2 = cv2.imread(r'C:\Users\user1\Pictures\opencvimp.jpg')
  # I want to put logo on top-left corner, So I create a ROI
  rows,cols,channels = img2.shape
  </code></pre>
  
  <p>this above code is giveing me the following error.</p>
  
  <pre><code>rows,cols,channels = img2.shape
  AttributeError: 'NoneType' object has no attribute 'shape
  </code></pre>
  
  <p>What am I doing wrong with img2.shape ?</p>