Detect markers on a face and find their coordinates

asked 2013-09-27 15:47:59 -0600

sohaib gravatar image

updated 2013-09-27 15:55:44 -0600

berak gravatar image

I have an image of a face. Their are some markers painted with a different color (blue) on this face. There are a total of 60 markers. I tried using the inRange function provided by openCV to detect these markers however using this I may be able to detect the markers but I'm not able to find out the coordinates of these markers. My problem is divided in two parts: 1. I need to find out and number each marker from 1 to 60 and find out its coordinates. 2. Once that is done I need to track those markers on another image of the same person taken at a different time. (Consider it to be like a video with continuous frames. These markers need to calculated at say every 10th frame. What needs to be known is say the distance between marker 1 and marker 5 in image one and in image two)

I am new to openCV and trying to learn its various functions. Even if you cannot point to a specific solution I would be much obliged if I could be pointed towards one direction which would help solve this problem. I am uploading a sample image here.image description

edit retag flag offensive close merge delete

Comments

1

Sounds like simple color segmentation can do the trick. Or segmentation + blob detector. Have you tried it?

GilLevi gravatar imageGilLevi ( 2013-09-28 09:41:25 -0600 )edit

Thanks GiLevi Ill try that. If you get the time please point me out to a good link or resource that I could get my hands on. Meanwhile Ill try and research the topics on my own.

sohaib gravatar imagesohaib ( 2013-09-28 13:11:52 -0600 )edit