简体   繁体   中英

What are some Line detection/recognition algorithms used in machine learning?

I'v looked at Hough Transform, but I'd like a machine learning classifier that would achieve the same purpose: detect unique lines from a given 2D vector or image. The closest I could think of was k-NN, but that would give me neighbors around a cluster instead of those that fall in a straight line.

The closest thing to do would be to train a Convolutional Neural Network (CNN). The different convolution layers should produce maps that will detect small portions of lines within different orientations. And when recombined all together it should detect straight lines. As I said into my comments, it can even reconnect discontinued lines.

If you are also interested by twisted lines (so not only straight), you can add a Transformer layer, which is going to apply elastic deformations during the training. These transformations will twist the line detectors, making them sensitive to twisted lines.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM