Detects the edges of table and centers of the pots