I'd like to recognize 6 circles in the image below.


When I tried using cv2.canny and HoughCircles, it didn't recognize the circle well.
Do I need to modify the parameters? Or is there any other good way?
The results I want are as follows.

I'd like to recognize 6 circles in the image below.


When I tried using cv2.canny and HoughCircles, it didn't recognize the circle well.
Do I need to modify the parameters? Or is there any other good way?
The results I want are as follows.

As others mentioned, the usage of the
HoughCirclesis to be taken with a grain of salt. The shapes mentioned look more like ellipsoids than circles.With that being said, here is what I got by going through a standard procedure:
The results are like this:
Though not the best of approaches, since I needed to cut one more circle that was detected to the right of the mentioned ones. Try it yourself and adjust the parameters as needed.