We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90cf1a1 commit 9102cfeCopy full SHA for 9102cfe
ch01-关于OpenCV/OpenCV图像坐标系_test.py
@@ -14,12 +14,12 @@
14
import numpy as np
15
import cv2
16
17
-img = cv2.imread('../data/Lenna.png', cv2.IMREAD_UNCHANGED)
+img = cv2.imread('data/Lenna.png', cv2.IMREAD_UNCHANGED)
18
print('img.shape:', img.shape)
19
-logo = cv2.imread('../data/opencv_logo.png', cv2.IMREAD_UNCHANGED)
+logo = cv2.imread('data/opencv_logo.png', cv2.IMREAD_UNCHANGED)
20
logo = cv2.resize(logo, (20, 20))
21
print('logo.shape:', logo.shape)
22
-butterfly= cv2.imread('../data/butterfly.jpg', cv2.IMREAD_UNCHANGED)
+butterfly= cv2.imread('data/butterfly.jpg', cv2.IMREAD_UNCHANGED)
23
butterfly = cv2.resize(butterfly, (20, 20))
24
print('butterfly.shape:', butterfly.shape)
25
0 commit comments