title: getting error in using cv2.resize(image,(64,64))
body: <p>While using the code given below to resize multiple images</p>
  
  <pre><code>i=0
  
  labels=[]
  
  train_data = [] 
  
  for img in (glob.glob(folder_path)):
  
     test_image = cv2.imread(img)
  
     labels.append(img[58:-4])
  
     test_image = cv2.resize(test_image, ( (272,272)))
  
     train_data.append(test_image)
  
     cv2.imwrite('C:/Users/HIMANSHU/Documents/Python Scripts/input/material_resize/'+labels[i]+'.jpeg',train_data[i])
     i=i+1
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>File "", line 7, in 
        test_image = cv2.resize(test_image, ( (272,272)))</p>
    
    <p>error:
    C:\bld\opencv_1510966172919\work\opencv-3.3.0\modules\imgproc\src\imgwarp.cpp:3483: error: (-215) ssize.width > 0 &amp;&amp; ssize.height > 0 in function
    cv::resize</p>
  </blockquote>