I would like to detect ellipses with OpenCV for Android, using the Tutorial 2-Basic included with OpenCV 2.4.1 package as a starting point. Note that my ellipse would be a p
One possible solution to your problem is similar to this thread Detection of coins (and fit ellipses) on an image .
You should take a look a opencv's function fitEllipse.
If you already have an idea of the sizes of the ellipses that you're looking for, then try the following steps:
The parameters used in HoughCircles
play a fundamental role. HoughCircles
will detect not just perfect, but also near-perfect circles (ellipses). I suggest you check this examples:
And this answer has a decent collection of references.