Skip to content

Commit

Permalink
Merge branch 'master' of github.com:iitmcvg/eye-gaze
Browse files Browse the repository at this point in the history
  • Loading branch information
mrupeshkumar committed Sep 25, 2015
2 parents c8923fc + 7ba620e commit ce424e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Binary file added src/.oic.cpp.swp
Binary file not shown.
11 changes: 9 additions & 2 deletions src/faceModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ void faceModel::assign(full_object_detection shape) {
}

cv::Point faceModel::getPupil(int mode) {


assert(mode == MODE_LEFT || mode == MODE_RIGHT);
std::vector<cv::Point> ptsEye(0);
cv::Mat roiEye = cv::boundingRect();
if(mode == MODE_LEFT) {

}
else {

}
}

std::vector<cv::Point> faceModel::getFeatureDescriptors(int index) {
Expand Down
2 changes: 1 addition & 1 deletion src/pupilDetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,4 @@ double get_z_component(double Cf_left, cv::Point pt_p_kalman, cv::Point pt_e_kal
void retrace_eye_center(cv::Point& pt_e_pos, double normal[3], double mag) {
pt_e_pos.x = pt_e_pos.x - normal[0]*mag;
pt_e_pos.y = pt_e_pos.y - normal[1]*mag;
}
}

0 comments on commit ce424e3

Please sign in to comment.