a function written to detect ellipse lines but needs improvement