回答編集履歴
1
バグ修正
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
img = cv2.imread('test.jpg')
|
10
10
|
|
11
|
-
if img == None:
|
11
|
+
if type(img) == type(None):
|
12
12
|
|
13
13
|
print('read error')
|
14
14
|
|