Ask Your Question

object detection in python

asked 2013-02-28 08:39:51 -0600

fs gravatar image

I'm trying to detect joints with color markers on a human for a robot.I know how to filter out the background using threshold.Now i want to find their position and detect them as objects.I'm new to opencv so please provide a little detail if possible.

edit retag flag offensive close merge delete


Could you post an image sample of the markers?

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2013-02-28 08:44:22 -0600 )edit

thanks for the super fast reply man.cant do that.but it's fairly's all black with white spots which are fairly large with no visible noise.By the way I don't need to follow the objects seperately right now.I mean it's not important which is which.Just need the center coordinate of allof them in each frame.

fs gravatar imagefs ( 2013-02-28 08:51:58 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-28 09:33:22 -0600

updated 2013-02-28 09:34:31 -0600

Two possible solutions as far as i see, if you have indeed a binary image with black being background and white the dots or vice versa. 1) Blob detection, then for each detected blob visualize center - 2) Some type of region segmentation. No idea if this is actually available inside OpenCV. Know how to do this in Matlab, but go through documentation, it should be included.


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-02-28 08:39:51 -0600

Seen: 795 times

Last updated: Feb 28 '13