opecv专题

opecv入门:3.7图片特效-油画效果

#1 gray 2 7*7 10*10 3 0-255 256 4 64 0-63 64-127 # 3 10 0-63 99 # 4 count 5 dst = result#1变成灰度图片 2选取小方块 3获取最多的段import cv2import numpy as npimg = cv2.imread('image00.jpg',1)cv2.imshow('src',i