approxCurve=cv.approxPolyDP(curve, epsilon, closed[, approxCurve])
参数 | 描述 |
---|---|
approxCurve | 返回值,近似的周长 |
curve | 轮廓向量 |
epsilon | 近似度 |
closed | 是否闭合 |
参考文献:
https://docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga0012a5fdaea70b8a9970165d98722b4c
approxCurve=cv.approxPolyDP(curve, epsilon, closed[, approxCurve])
参数 | 描述 |
---|---|
approxCurve | 返回值,近似的周长 |
curve | 轮廓向量 |
epsilon | 近似度 |
closed | 是否闭合 |
参考文献:
https://docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga0012a5fdaea70b8a9970165d98722b4c