Make eye direction indicator more clear
Adds a circle to the center of the eye direction indicator to make it easier to read.
This commit is contained in:
parent
e4d755c00d
commit
c777e08519
|
@ -149,6 +149,7 @@ 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue