Detect lines lines near poles.