Introduction - If you have any usage issues, please Google them yourself
First detection in adjacent pixels of the image and clustering, form some connected set of pixels, then clustering
Pixels after perception marshalling, subdivided into more than the original clustering line close to the straight line segment, at the end of each period of approximate straight line detection using randomized Hough transform