I was thrilled it looked exactly what i needed. I tried the different examples, but it all came down to that the:
ArrayList circles;
Did not exist, probably because it is not implemented in the Processing branch of opencv.
Same history with the findCircle command
The partial workaround, as far as i could tell (was just 4 lines of general idea coding) looked like it was just a bloop detection followed up with a bounding box and the draw a circle inside this box. So basically it did not look for circles, but if your image consisted of only circles, it would be able to draw a circle around these… unfortunatly my pictures does contain other thing than circles.
But thanks for the answer Maybe i will have to move over to Java to be able to use the full OpenCV. Its just a shame, because i feel that i came very close with my code in Processing. I only needed the circle detector.