Quote:
Originally Posted by herbboy
simple get the coordinate for mid (x,y) then get coordinates for corner(x1,y1)
now use the distance formual --
sqareroot( (x-x1)^2 + (y-y1)^2) I think 
|
I believe that the centroid values available from the camera are "center of mass" values and not the exact center of the bounding box. With one light being tracked, those are accurate enough, but when tracking two lights, the centroid values will stray towards the light that is closest to you.