polyskel | Straight skeleton implementation in Python

 by   Botffy Python Version: Current License: LGPL-3.0

kandi X-RAY | polyskel Summary

kandi X-RAY | polyskel Summary

polyskel is a Python library. polyskel has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

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

            kandi-support Support

              polyskel has a low active ecosystem.
              It has 29 star(s) with 15 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 7 open issues and 15 have been closed. On average issues are closed in 172 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of polyskel is current.

            kandi-Quality Quality

              polyskel has 0 bugs and 0 code smells.

            kandi-Security Security

              polyskel has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              polyskel code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              polyskel is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              polyskel releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              It has 421 lines of code, 48 functions and 3 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed polyskel and discovered the below as its top functions. This is intended to give you an instant insight into polyskel implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            polyskel Key Features

            No Key Features are available at this moment for polyskel.

            polyskel Examples and Code Snippets

            No Code Snippets are available at this moment for polyskel.

            Community Discussions

            QUESTION

            How to pass the input file path to argparse python?
            Asked 2018-Sep-17 at 18:46

            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:46

            Go to the repo which you have cloned or downloaded

            Source https://stackoverflow.com/questions/52373891

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install polyskel

            You will need Python 3.8.1. Download the repo and install using pip: pip install -r requirements.txt. We use euclid3 for geometry computations, and the demo uses Pillow to display the images.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Botffy/polyskel.git

          • CLI

            gh repo clone Botffy/polyskel

          • sshUrl

            git@github.com:Botffy/polyskel.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link