mirror of
https://github.com/woodchen-ink/extractstamp.git
synced 2025-07-18 14:02:01 +08:00
feat: optimize circle detect
This commit is contained in:
parent
e575ecdd74
commit
ebfc4a6b9d
@ -169,7 +169,7 @@ function detectCircles(dst) {
|
||||
circles,
|
||||
cv.HOUGH_GRADIENT,
|
||||
1, // 两个圆心之间的最小距离
|
||||
dst.rows / 8, // 检测圆心之间的最小距离
|
||||
dst.rows / 6, // 检测圆心之间的最小距离
|
||||
200, // 修改检测圆形的阈值为200
|
||||
50, // 检测圆形的阈值
|
||||
minRadius, // 检测圆形的最小半径
|
||||
|
Loading…
x
Reference in New Issue
Block a user