Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HoughCircles freezes

Hi, I am excited about the HoughCircles function and impressed how well it works in the demo. I would love to use it in this image: https://drive.google.com/file/d/1ft3exI0bACdSQF3ZA5TsDo0Z8BhefApY/view?usp=sharing But even though I played around a lot with the parameters, HoughCircles continues to freeze. I do not understand the documentation for the param1 and param2 so I cannot give them meaningful values. I use these values: HoughCircles(src_gray, circles, HOUGH_GRADIENT, 1, 10, cannyThreshold, accumulatorThreshold, 3, -1); Can someone please explain these parameters in more detail and/or give me working values for this picture? Thank you!