質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
img = cv2.resize(img, (300, 400))
|
56
56
|
|
57
|
-
|
57
|
+
res, img = cv2.threshold(img, 130, 255, cv2.THRESH_BINARY_INV)
|
58
58
|
|
59
59
|
img = img.astype(np.float32) / 255
|
60
60
|
|