Ask Your Question

Revision history [back]

Detect markers on a face and find their coordinates

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

click to hide/show revision 2
retagged

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

berak gravatar image

Detect markers on a face and find their coordinates

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