How can I improve the performance of the following circle-detection code
from matplotlib.pyplot import imshow, scatter, show
import cv2
image = cv2.imread(\
While it is possible to fine-tune Hough Circles for a given image, the optimal parameters from image to image may vary alot. Hence, it takes quite some effort to make the circle detection robust using Hough Circles, though its doable!
Instead I would suggest to use more modern approaches like: