Machine Vision - Detecting circles (OpenCV)

I have two suggestions that are related but not sure if it will provide you a desirable solution. I suggest you explore the provided examples that comes with the libraries:

Tutorial Processing - BoofCV

BlobDetection

Kf