/// Taken and modified from https://github.com/errollw/EyeTab #ifndef IRIS_GEOMETRYFIT_ELLIPSE_H #define IRIS_GEOMETRYFIT_ELLIPSE_H #include #include cv::RotatedRect fit_ellipse(const std::vector &edgePoints, cv::Mat_ mPupilSobelX, cv::Mat_ mPupilSobelY, std::vector &bestInliers); #endif // IRIS_GEOMETRYFIT_ELLIPSE_H