摘要: img = cv2.imdecode(np.fromfile(img_path, dtype=np.uint8), -1) # 读入完整图片,见下面解释 img = cv2.imdecode(np.fromfile(img_path, dtype=np.uint8), 0) # 读成灰度 img = 阅读全文
posted @ 2019-12-30 20:59 永远怀着一颗学习的心 阅读(3766) 评论(0) 推荐(0) 编辑