Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Centroid of object or What is frame in video ?

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