Testing the algorithm, we obtain some nice results:The thicker red circle around the blue ball is the one our algorithm has found.
Then we proceed to substitute the necessary code in the auball2 plugin. One downside that still remains is that finding the balls correctly still greatly depends on lighting conditions, as the image fed into the cvHughCircles function is heavily filtered beforehand.


