I modified some limits of circularity that is used to recognize the shape. Also now when calling the function, it displays the image with the shapes highlighted with a bounding box.
The original image (importme.jpg) is:
So the whole process is:
The code for the functions can be seen at: https://github.com/mandeeps708/RoboticVision