I have found some indication that there is code in OpenCV for fitting ellipses with a Hough Transform; is this code within OpenFramworks somewhere? I can’t seem to find an indication that it is…
I basically have a series of ofPoints that I would like to fit an ellipse to; any pointers would be appreciated!
You should check of Kyle McDonalds ofxCv https://github.com/kylemcdonald/ofxCv
You need to convert the ofVec2f to cv::Point2f and then you can pass it to fitEllipse() which is documented here: http://docs.opencv.org/modules/imgproc/doc/structural-analysis-and-shape-descriptors.html?highlight=fitellipse#RotatedRect fitEllipse(InputArray points)
Hope that helps.