rect with largest area is identified and centroid is tracked