Detecting lane markers for autonomous driving