Created
April 22, 2016 15:22
-
-
Save vieirin/3095993ab98402e1bd5dd3037840631a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void PointClickDistance::draw_grid(cv::Mat frame){ | |
for(int i = 0; i <= 640; i +=160){ | |
cv::line(frame, cv::Point(i, 0), cv::Point(i, 480), cv::Scalar(255, 0, 0)); | |
for(int j = 0; j < 480; j += 120) | |
cv::line(frame, cv::Point(0, j), cv::Point(640, j), cv::Scalar(255, 0, 0)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment