import cv2
def cartoonise(picture_name):
imgInput_FileName = picture_name
imgOutput_FileName = "cartoon" + picture_name
num_down = 2 #缩减像素采样的数目
num_bilateral = 7 #定义双边滤波的数目
img_rgb = cv2.imread(imgInput_Fi
python opencv 卡通化图片
最新推荐文章于 2024-07-14 18:09:49 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)