hand centroid finding.
plot 3D position