Detect key points.