Update js_houghcircles_HoughCirclesP.html

This commit is contained in:
FurkanTahaSaranda 2025-04-04 17:36:42 +03:00 committed by GitHub
parent 0b3155980a
commit 55a4a713fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ let color = new cv.Scalar(255, 0, 0);
cv.cvtColor(src, src, cv.COLOR_RGBA2GRAY, 0);
// You can try more different parameters
cv.HoughCircles(src, circles, cv.HOUGH_GRADIENT,
1, 45, 75, 40, 0, 0);
1, 45, 175, 40, 0, 0);
// draw circles
for (let i = 0; i < circles.cols; ++i) {
let x = circles.data32F[i * 3];