Effective circle, triangle, and square detection