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.

What if I want to get the center of the circles detected, what codes of OpenCV should I use? please reply on this e-mail address: dhenn0021@gmail.com... your opinion will be highly appreciated... thanks

what if i successfully detect the ball and the center of the circle detected, how could I calculate angle of the circle detected with for example, respect to the center of the frame? thanks for reply :)