title: cv2.error: OpenCV(4.5.2) resize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
body: <p>I am receiving this error when running this line of code :</p>
  <pre><code>pixels.append( cv2.resize(cv2.imread(raw_folder  + folder +&quot;/&quot; + file),dsize=(128,128)))**
  </code></pre>
  <p>Error:</p>
  <pre><code>cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-vi271kac\opencv\modules\imgproc\src\resize.cpp:4051: 
  error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
  </code></pre>