polyskel | Straight skeleton implementation in Python
kandi X-RAY | polyskel Summary
kandi X-RAY | polyskel Summary
This is a Python 3 implementation of the straight skeleton algorithm as described by Felkel and Obdržálek in their 1998 conference paper Straight skeleton implementation. The algorithm itself is fairly dated, and shown to be incorrect for certain input polygons. This implementation is a bit crap, and does not really attempt to fix the algorithm. It works kinda okay for most real-life input (for example country contours or floor plans). For a modern and excellent overview of the topic please refer to Stefan Huber's excellent Computing Straight Skeleton and Motorcycle Graphs: Theory and Practice.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Skeletonize a polygon
- Returns True if the buffer is empty
- Show the image
- Draw a line
- Create a Slav from a polygon
- Combine a list of lists
- Set the global debug
- Normalize a contour
- Compare two points
polyskel Key Features
polyskel Examples and Code Snippets
Community Discussions
Trending Discussions on polyskel
QUESTION
I'm trying to run the demo.py file in this repository, Straight skeleton implementation in Python
But when I try to run this I could not find any input file paths. Input files are inside examples folder but couldn't find a place to set the file path. When I run this script an error occurred saying some arguments are missing. I know that the missing argument is input file path but I don't know where to put it.
Appreciate your help.
Thanks
ANSWER
Answered 2018-Sep-17 at 18:46Go to the repo which you have cloned or downloaded
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install polyskel
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page