Ask Your Question

Revision history [back]

HoughCircles only detects circles, but the image provided here only has ellipses in it. If you want to detect ellipses, you should resize the image first so that the ellipses turn into round circles. In this case, you can simply call resize() to reduce the width of the image. (It is much more complex if the ellipses are rotated.)