1

I am creating a tool to generate 3d model of a house by analyzing its floor plan. Up to now i was able to isolate all the wall of a floor plan.

Original Floor Plan :- enter image description here

Isolated Walls :-

enter image description here

Then I tried applying hough transformation to identify lines and its corresponding coordinates. But the problem is identified lines are all vertical lines.

After drawing all the detected lines into the floor plan :-

enter image description here

After reducing number of lines drawn to the image :-

enter image description here

You can clearly see that all the lines are vertical.

What i actually want is to identify all the lines and each of its starting point and ending point.

enter image description here

4

0 回答 0