Advanced lane detection in a video stream