param1=canny,# First method-specific parameter. In case of HOUGH_GRADIENT , it is the higher threshold of the two passed to the Canny edge detector (the lower one is twice smaller).
param2=accum_thresh,# Second method-specific parameter. In case of HOUGH_GRADIENT , it is the accumulator threshold for the circle centers at the detection stage. The smaller it is, the more false circles may be detected. Circles, corresponding to the larger accumulator values, will be returned first.
minRadius=MIN_RADIUS,maxRadius=MAX_RADIUS)
keypoints=[]
keypoint=[]
ifcirclesisnotNone:
circles=np.uint16(np.around(circles))
fork,(i)inenumerate(circles[0,:]):
center=(i[0],i[1])
radius=i[2]
# get depth in [m] (was radius * 0.4 in real world)