UIBezierPath from image

前端 未结 2 1756
南方客
南方客 2021-02-01 10:43

I have several png files that look similar to this this:

\"enter

Everything is tra

相关标签:
2条回答
  • 2021-02-01 11:39

    The process you're looking for is known as skeletonization, there's a good summary of techniques in this post: Determine the midline of a bent, elongated region

    0 讨论(0)
  • 2021-02-01 11:47

    I went a different direction. Instead of using PNGs I went with SVG and used PocketSVG to parse the file. It works great.

    0 讨论(0)
提交回复
热议问题