2019年8月26日

生成自己想要的任意颜色的图片

摘要: # import cv2 # import numpy as np # # # 回调函数,x表示滑块的位置,本例暂不使用 # def nothing(x): # pass # # img = np.zeros((300, 512, 3), np.uint8) # cv2.namedWindow('image') # # # 创建RGB三个滑动条 # cv2.createTrackbar('R', 阅读全文

posted @ 2019-08-26 22:33 Hebye 阅读(369) 评论(0) 推荐(0) 编辑

导航