You want to find circles?
You should probably start with a Hough method.
Basically you create an edge image; then every point in the edge image votes for all points a given radius away (all possible circles it is a member of). After all edge points have voted you look for local maxima. Vaild circles will have been voted for by multiple points letting you pinpoint circles.
Implementing it yourself is an absolute pain in the ass (trust me), but opencv comes with both a Canny edge detector and a Hough circles implementation.
This tutorial should get you started:
http://opencv-python-tutroals.readthedoc...rcles.html
You should probably start with a Hough method.
Basically you create an edge image; then every point in the edge image votes for all points a given radius away (all possible circles it is a member of). After all edge points have voted you look for local maxima. Vaild circles will have been voted for by multiple points letting you pinpoint circles.
Implementing it yourself is an absolute pain in the ass (trust me), but opencv comes with both a Canny edge detector and a Hough circles implementation.
This tutorial should get you started:
http://opencv-python-tutroals.readthedoc...rcles.html