I'm trying to create a line from a pupil into the screen, pointing in the direction where the pupil is pointing. A gaze detector if you will.
But for some reason i can only get the line end that terminates on the pupil to move, not the other end (which is what i want). It doesn't matter if i switch both Point() arguments to line() around.
line(image,rightpupil,rightpupil+cv::Point(-15,-2),CV_RGB(255,5,255),2,8,0,0.5); line(image,leftpupil,leftpupil+cv::Point(-15,-2),CV_RGB(255,5,255),2,8,0);
Is this a code thing or am i doing something wrong ?