1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #27196 from FurkanTahaSaranda:patch-1

Update js_houghcircles_HoughCirclesP.html
This commit is contained in:
Alexander Smorkalov
2025-04-08 09:10:39 +03:00
committed by GitHub
@@ -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];