Skip to content

Commit

Permalink
Fixed eye coordinates calculation (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
integraledelebesgue authored Nov 7, 2024
1 parent 6c42065 commit 9dd98e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mini-face/local/gaze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::optional<Gaze> GazeExtractor::detectGaze(const Frame& frame, double timesta

cv::Point3f GazeExtractor::calculateEyeCenter(const std::vector<cv::Point3f> eyeLandmarks, Eye eye) const
{
constexpr int NO_LANDMARKS = 8;
constexpr int NO_LANDMARKS = 28;
cv::Point3f middle(0, 0, 0);

for (int i = 0; i < NO_LANDMARKS; i++)
Expand Down

0 comments on commit 9dd98e2

Please sign in to comment.