Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 455 Bytes
#include <Eigen/Geometry>
using namespace Eigen;
using namespace std;
using namespace cv;
vector<Vector3d> ellipse_to_limbus(RotatedRect& ellipse);
Point2d get_gaze_pt_mm(Vector3d limb_center, Vector3d limb_normal);
Point2d get_gaze_pt_mm(RotatedRect& ellipse);
Point2i convert_gaze_pt_mm_to_px(Point2d gaze_pt_mm);
void show_gaze(Mat& img, vector<Point2i> gaze_pt_raw_s, vector<Scalar> colors_raw, Point2i gaze_pt_smoothed, Scalar color_smoothed);