1

I need to get programmatically polygon points coordinates from image.

Here is an example: http://imgur.com/gbs96tt

Requirements:

  1. Take image with transparent background and some colored polygon on it
  2. Run this library on image.
  3. Get polygon points coordinates in pixels.

I don't know anything about software available for this purpose.

1

Maybe it will be useful for someone - there is no native realization of this, written on php.

But there is very useful program - potrace - which can be lauched from shell_exec.

It helped me with my problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.