vector<Vec4i> lines; | vector<Vec4i> lines; | ||||
Canny(inputPicture, inputPicture, 50, 100, 3); | Canny(inputPicture, inputPicture, 50, 100, 3); | ||||
HoughLinesP(inputPicture, lines, 1, CV_PI/180, 100, 30, 50); | |||||
HoughLinesP(inputPicture, lines, 1, CV_PI/180, 100, 30, 150); | |||||
//Draw lines | //Draw lines | ||||
inputPicture = Mat::zeros(inputPicture.size().height, inputPicture.size().width, CV_8UC1); | inputPicture = Mat::zeros(inputPicture.size().height, inputPicture.size().width, CV_8UC1); | ||||