質問編集履歴

1

誤字

2020/12/05 08:37

投稿

Key427427
Key427427

スコア2

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
  img = cv2.resize(img, (300, 400))
56
56
 
57
- #res, img = cv2.threshold(img, 130, 255, cv2.THRESH_BINARY_INV)
57
+ res, img = cv2.threshold(img, 130, 255, cv2.THRESH_BINARY_INV)
58
58
 
59
59
  img = img.astype(np.float32) / 255
60
60