Posted on:

22 Jul 2024

0

Other parameters values

Hello,


It was very very enjoyable, I loved the challenging trip. I would say that in my case, I found a false positive but I succeed to recognize the last one even it's not a circle.

I tried these values with and without canny edge detection:

h, w = img.shape[:]
#cv2.HoughCircles(image,method,dp,minDist,circles,param1,param2,minRadius,maxRadius)
circles = cv2.HoughCircles(img,cv2.HOUGH_GRADIENT,1.1, int(w/10), param1=50, param2=20, minRadius=int(w / 20),\
                           maxRadius=int(w/10))

0 answers ( 0 marked as helpful)

Submit an answer