From 6f8f846288b3582a323d7b684192625715d6fefc Mon Sep 17 00:00:00 2001 From: nina16448 Date: Fri, 25 Apr 2025 15:39:50 +0800 Subject: [PATCH] Update houghcircles.py --- samples/python/houghcircles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python/houghcircles.py b/samples/python/houghcircles.py index 60a36714fe..9d63f6ca1f 100755 --- a/samples/python/houghcircles.py +++ b/samples/python/houghcircles.py @@ -27,7 +27,7 @@ def main(): img = cv.medianBlur(img, 5) cimg = src.copy() # numpy function - circles = cv.HoughCircles(img, cv.HOUGH_GRADIENT, 1, 10, np.array([]), 100, 30, 1, 30) + circles = cv.HoughCircles(img, cv.HOUGH_GRADIENT, 1, 10, np.array([]), 200, 30, 5, 30) if circles is not None: # Check if circles have been found and only then iterate over these and add them to the image circles = np.uint16(np.around(circles))