Visio almost finished! Detects rectangular objects and return its center and contours.