Wednesday, July 22, 2009
The documentation for OpenCV is getting pretty good, I was able to get circle detection working via cut and paste pretty quickly. However, I suggest adding a cvWaitKey(0); to the end of the example code so that you can see it actually running.
Also it looks like the accumulator for the Hough transform used by cvHoughCircles() only looks for maximas along the X and Y axes of the parameter space so concentric circles will not be detected as separate circles.
Update:This series of tutorials on integrating circle detection into ROS using OpenCV may also be useful.