摘要:
import cv2 as cv import numpy as np # 数值运算:加减乘除 def shu_image(srcA,srcB): src = cv.add(srcA,srcB) # 加 cv.imshow('add',src) src = cv.subtract(srcA,srcB 阅读全文
摘要:
import cv2 as cv import numpy as np # 色彩空间转换 def color_space_demo(image): # RGB转换为gray gray = cv.cvtColor(image,cv.COLOR_BGR2GRAY) cv.imshow("gray",gr 阅读全文