I am trying to detect the amount of circles in an image. Apparently I either do not know how to use HoughCircles (which is the most likely scenario :D) or it simply is not good enough.
Not much to say, I'll upload a picture and post my code and hopefully you'll be able to help me out.
Picture with circles (which cannot be detected): http://imgur.com/2SmvysV
Code: http://pastebin.com/0M62cYmr
I seriously took the code from the internet. Made minor changes like param1 and param2 were changed to 80 instead of 100 in the HoughCircles function.
Previous post for the interested ones: http://answers.opencv.org/question/89472/detecting-circlesellipsewhatever-in-an-image/