Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to determine the center of a star-like object?

hi guys i'm new to opencv! I wanted to know is there a way to find the center of a start-like object? as shown in this image star, it contain a star and other object. my question is:

  1. can i find the center based on the color pattern to create a result like this image with cross point? by then i am able to get the centre pixel location, right?
  2. in this image shuriken, since it doesn't have a clear color pattern, could i use the same approach in 1 to find the center?

i am willing to learn, so u may just provide the step/keyword then let me go figure out the coding part, but it may lead to more question from me :) if any tutorial of guideline link is provided it would be more helpful.