removed old python line_detection code