Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Attn: @berak, @sturkmen. The problem have been solved under OpenCV 4.0.1. There is nothing wrong with source code . The filename doesn't matter. What I did. I copied and pasted it. Then I got an error. Same error as above. What I did I retype instead of copy and paset. So the problem had to be retyped: Retyped: img1 = cv2.imread('messi5.jpg') img2 = cv2.imread('opencv_logo.png')

Attn: @berak, @sturkmen. The problem have been solved under OpenCV 4.0.1. There is nothing wrong with source code . The filename doesn't matter. What I did. I copied and pasted it. Then I got an error. Same error as above. What I did I retype instead of copy and paset. So the problem had to be retyped: Retyped: Retyped:

img1 = cv2.imread('messi5.jpg')
 img2 = cv2.imread('opencv_logo.png')

cv2.imread('opencv_logo.png')

Attn: @berak, @sturkmen. The problem have been solved under OpenCV 4.0.1. There is nothing wrong with source code . The filename doesn't matter. What I did. I copied and pasted it. Then I got an error. Same error as above. What I did I retype instead of copy and paset. So the problem had to be retyped: Retyped::

img1 = cv2.imread('messi5.jpg')
img2 = cv2.imread('opencv_logo.png')