1 | initial version |
cv2.imread()
does NOT throw an exception if your image could not be read, but returrns None
instead.
you MUST check on your own here, else the next operations will fail
(also, using np.copy or even cv2.UMat does not make any sense here.)
2 | No.2 Revision |
your image was never read correctly.
cv2.imread()
does NOT throw an exception if your image could not be read, but returrns None
instead.
you MUST check on your own here, else the next operations will fail
(also, using np.copy or even cv2.UMat does not make any sense here.)