赞
踩
原图 vs 外轮廓 vs 内轮廓,外轮廓较为清晰,内轮廓效果一般
使用python的opencv库的轮廓提取方法:
import cv2 import numpy as np img_path = "图片路径" # 读取图片 img = cv2