From 7684da80d75563ba48bb7a58efa7433d9a90b7bf Mon Sep 17 00:00:00 2001 From: Epicalert Date: Sun, 4 Jul 2021 03:43:23 +0800 Subject: [PATCH] Mention paper used for pupil tracking in comments --- src/eye.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/eye.cpp b/src/eye.cpp index 0dd5fe2..051e0d9 100644 --- a/src/eye.cpp +++ b/src/eye.cpp @@ -1,5 +1,8 @@ #include +// This pupil tracking algorithm is based on the paper +// "ACCURATE EYE CENTRE LOCALISATION BY MEANS OF GRADIENTS" +// by Fabian Timm and Erhardt Barth. Thanks! float objectiveFunction(cv::Point2f c, cv::Mat gX, cv::Mat gY) { float sum = 0;