img = cv2.imread(other + "\\" + i)[ 820:1890, 30:1040, ] # 进行涂抹处理 img[0:1070, 390:430] = (0, 0, 0) img[0:1070, 150:190] = (0, 0, 0) grayImage = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) cv2.imwrite(other_handle + "\\" + i, grayImage)
07-20
3687
09-30
303
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交