title: How to resize image in CV2 image in Colab Editor
body: <p>I am trying to resize an image in cv2 in Colab editor, but I am getting the below error. Can anyone help me to debug this error?</p>
  <p>My code:</p>
  <pre><code>img= cv2.imread(&quot;/content/drive/My Drive/DL_DATAset/Autotag/Test Image/image100.jpg&quot;)
  height = 220
  width = 220
  dim = (width, height)
  res = cv2.resize(img, dim, interpolation=cv2.INTER_LINEAR)
  </code></pre>
  <p>Error:</p>
  <blockquote>
  <p>error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'</p>
  </blockquote>