From ebfc4a6b9d18ee72db1b5522618017a179518e0e Mon Sep 17 00:00:00 2001 From: xxss0903 Date: Fri, 25 Oct 2024 17:43:29 +0800 Subject: [PATCH] feat: optimize circle detect --- extractstamp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractstamp.js b/extractstamp.js index d52e4a0..538304a 100644 --- a/extractstamp.js +++ b/extractstamp.js @@ -169,7 +169,7 @@ function detectCircles(dst) { circles, cv.HOUGH_GRADIENT, 1, // 两个圆心之间的最小距离 - dst.rows / 8, // 检测圆心之间的最小距离 + dst.rows / 6, // 检测圆心之间的最小距离 200, // 修改检测圆形的阈值为200 50, // 检测圆形的阈值 minRadius, // 检测圆形的最小半径