摘要: https://docs.opencv.org/3.4.8/d2/de8/group__core__array.html#ga60b4d04b251ba5eb1392c34425497e14 阅读全文
posted @ 2019-12-17 11:08 sweeeper 阅读(122) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/u/e8bcb7ff1632 阅读全文
posted @ 2019-12-17 10:59 sweeeper 阅读(102) 评论(0) 推荐(0)
摘要: 来自:https://www.cnblogs.com/xiezhiyang/p/6613094.html range 函数说明:range([start,] stop[, step]),根据start与stop指定的范围以及step设定的步长,生成一个序列。range示例: 1 2 3 4 5 6 阅读全文
posted @ 2019-12-17 10:45 sweeeper 阅读(261) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_38570251/article/details/82079080 threshold:固定阈值二值化, ret, dst = cv2.threshold(src, thresh, maxval,type) src: 输入图,只能输入单通道图 阅读全文
posted @ 2019-12-17 10:40 sweeeper 阅读(576) 评论(0) 推荐(0)
摘要: 本次目标是将一副图像从rgb颜色空间转换到hsv颜色空间,颜色去除白色背景部分 具体就调用了cv2的两个函数,一个是rgb转hsv的函数 具体用法 hsv = cv2.cvtColor(rgb_image, cv2.COLOR_BGR2HSV)然后利用cv2.inRange函数设阈值,去除背景部分 阅读全文
posted @ 2019-12-17 10:20 sweeeper 阅读(8572) 评论(0) 推荐(0)