3D-Eye-Tracker/main/fit_ellipse.h
2016-10-07 13:31:30 +09:00

11 lines
422 B
C++

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