1 | initial version |
If your pole stands out with respect to background, you may be able to perform simple segmentation, identify vertical objects (height >> width, and angle at 90 degrees with respect to ground) and then, perform an erosion on that object to get a line.