findCirclesGrid - no working example
Hi all
I can find a lot of examples of code + images for findCircles grid which does NOT work (according to the authors). Also I can find claims that findCirclesGrid works great for them. But I can't find a code example which is known to work against an image which can be downloaded to test with.
Essentially the example should comprise:
- Some cpp code (doesn't need to be a .h and .cpp, just a few lines
- An image which the cpp code will work with. Ideally http://docs.opencv.org/trunk/_downloads/acircles_pattern.png
Hoping to post one here soon.. :)
[EDIT] I'm not allowed to answer my own question because i'm a new user, but I managed to get the image and code from: http://answers.opencv.org/question/3136/findcirclesgrid-in-python/ working in a cpp example [/EDIT]
I added 50 karma so you can now answer your own question. As to the solution, please consider a pull request with this new sample on github. It will help all future users of this functionality.
Thank you Steven
I didn't use highgui for my tests, as I'm working inside openFrameworks, so it doesn't make for a good sample for others to compile. I'll post my findings below.