Ask Your Question
0

Centroid of human person

asked 2015-01-11 03:20:08 -0600

Vivek gravatar image

Hey guys !! I m new to opencv and i m working on a project in which i have a video of a human person which is doing some activity (there is only one person in the video) . I need to calculate the centeroid of the body. I apply the segmentation and i have no idea what to do after that !! Please give me some idea how to do that if you can ! Thanks !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-01-11 06:39:40 -0600

You can use cv::moments to get the center of your region:

http://docs.opencv.org/modules/imgpro...

edit flag offensive delete link more
1

answered 2015-01-17 07:27:15 -0600

Vivek gravatar image

updated 2015-01-17 07:27:58 -0600

I found the article excatly what i looking for

Here is the link

edit flag offensive delete link more

Comments

There should be a better spread of the python samples. However keep in mind that the samples require you to run the 3.0 version of OpenCV.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-01-17 07:59:24 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2015-01-11 03:20:08 -0600

Seen: 891 times

Last updated: Jan 17 '15