hough to detect the line, with search the optimization parameters