摘要: error: (-215) size.width>0 && size.height>0 in function imshow 调试时可发现img2的类型为NoneType.即img2为empty 改为如下 阅读全文
posted @ 2016-06-07 21:50 timmymanu 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 读入图片 cv2.imread() 第一个参数:图片名 第二个参数: • cv2.IMREAD_COLOR : Loads a color image. Any transparency of image will be neglected. It is the defaultflag.• cv2. 阅读全文
posted @ 2016-06-07 18:59 timmymanu 阅读(1838) 评论(0) 推荐(0) 编辑