Centroid of object or What is frame in video ? [closed]
Hello everyone ! I have a little query. I am working on video in which i applied segmentation. So i have Segmentated video and hence have each capture image frame (im.read()) . Now i need to calculate the centroid of the object, I don't know how to do that ?? Can you help me in the same ?? I think frame is nothing but the array of RGB values. If so, how to access that values ? or Any other idea how to do that in python. Thanks
Using moments. But this is linked to this one
Hey thdrksdfthmn I have only one object in my video (i.e. human person) so how can i get centroid by using frame of each capture ??
Please edit your original question and don't open a new one with the same question: Old question is here: http://answers.opencv.org/question/52...
please edit your question (old one) and add some steps you have done until now, like : object detection, object segmentation... and then you will better understand the thing you want to do
Okkk !! Sorry for inconvenience