Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find the contours for your edge image and sort the contour points. Those points may help you to follow the line. You have the initial Point, simply you can look for a deviation in the X points for your horizontal line and Y for your vertical line.