1 | initial version |
oh, the input line has lines.size =2. So vector<point> endP has 4 points (endP[0], endP[1], endP[2],endP[3]) as your comment.
2 | No.2 Revision |
oh, the input line has lines.size =2. So vector<point> endP has 4 points (endP[0], endP[1], endP[2],endP[3]) as your comment.comment. You can refer the code at https://github.com/NamanCMU/Lane-Marking-Detection-Tracking. I use it for my lane tracking project.