title: OpenCV(4.1.2) error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
body: <p>I am recieving this error when running this line of code:</p>
  <pre><code>img = cv2.resize(img, (224,224)) 
  </code></pre>
  <blockquote>
  <p>OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'</p>
  </blockquote>