Helps to detect the corner of a card.