How do you detect a shape?

Can you answer this question?