Sort HoughLines and make a closed shape

asked 2018-04-14 19:37:35 -0600

Safa gravatar image

I'm using the canny function for edge detection and then applying the HoughLinesP transformation but the lines are sparse and don't form a closed shape. What do I need to change to get an almost closed shape and how to sort these lines (I have a list of all the x1,y1,x2,y2 points ) if I need to draw the lines/use them to form a shape?

edit retag flag offensive close merge delete