You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I found this package to make floorplan Binary Image to graph like this.
I make it to skeleton image and result is here.
Is it possible to add angled parts where i pointed by arrows to a graph as points?
also ,I wish the graph was composed only of straight lines... is any options?
The text was updated successfully, but these errors were encountered:
this is a demo generated by chatgpt, It seems ok, but I did not test it
fromshapely.geometryimportLineString, Point# Define a line stringline=LineString([(0, 0), (0, 1), (1, 1), (2, 2), (3, 1), (4, 0)])
# Simplify the line string with a tolerance of 0.5simplified_line=line.simplify(tolerance=0.5, preserve_topology=False)
# Print the original and simplified line stringsprint("Original line: ", line)
print("Simplified line: ", simplified_line)
Hello. I found this package to make floorplan Binary Image to graph like this.
![room](https://user-images.githubusercontent.com/104882848/197453583-5f27c0ee-d8a9-41db-92a9-0015c0d266ba.png)
![room2](https://user-images.githubusercontent.com/104882848/197453805-c21d03f7-fd05-4245-b4b6-ab3b5234329b.png)
![room3](https://user-images.githubusercontent.com/104882848/197454324-44147492-52c8-4984-880d-30c63f6a3341.png)
I make it to skeleton image and result is here.
Is it possible to add angled parts where i pointed by arrows to a graph as points?
also ,I wish the graph was composed only of straight lines... is any options?
The text was updated successfully, but these errors were encountered: