diff --git a/src/cv.cpp b/src/cv.cpp index 2ad7d48..5fdb035 100644 --- a/src/cv.cpp +++ b/src/cv.cpp @@ -151,8 +151,6 @@ void cvFrame() { cv::line(frame, cv::Point(50,50), cv::Point(50,50) + cv::Point(eyeVector.x * 25, eyeVector.y * 25), cv::Scalar(255,128,128)); cv::circle(frame, cv::Point(50,50), 6, cv::Scalar(255,128,128)); - std::cout << eyeVector.x << "," << eyeVector.y << std::endl; - std::cout << "SIZE:" << eyeROI.cols << "," << eyeROI.rows << std::endl; updateModel(faceData); } diff --git a/src/eye.cpp b/src/eye.cpp index c61c02e..0dd5fe2 100644 --- a/src/eye.cpp +++ b/src/eye.cpp @@ -103,9 +103,6 @@ glm::vec2 eyeDirection(cv::Mat roi) { cv::drawMarker(eyeMat, irisPosition, cv::Scalar(128,128,128)); - cv::imshow("eye", eyeMat); - cv::waitKey(1); - // convert result to vector for graphics return glm::vec2( (irisPosition.x - eyeMat.rows / 2.0) / (eyeMat.rows / 2.0),