https://github.com/iago-suarez/fsg
:straight_ruler: :rocket: FSG: A statistical approach to line detection via fast segments grouping
https://github.com/iago-suarez/fsg
computer-vision image-processing line-detection line-segment-detector vanishing-points
Last synced: about 1 year ago
JSON representation
:straight_ruler: :rocket: FSG: A statistical approach to line detection via fast segments grouping
- Host: GitHub
- URL: https://github.com/iago-suarez/fsg
- Owner: iago-suarez
- License: apache-2.0
- Created: 2021-09-10T11:21:05.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T20:22:23.000Z (over 1 year ago)
- Last Synced: 2025-05-02T16:03:34.004Z (about 1 year ago)
- Topics: computer-vision, image-processing, line-detection, line-segment-detector, vanishing-points
- Language: C++
- Homepage:
- Size: 3.75 MB
- Stars: 53
- Watchers: 5
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# FSG: A statistical approach to line detection via fast segments grouping
This repository contains the source code of [FSG: A statistical approach to line detection via fast segments grouping](http://www.dia.fi.upm.es/~pcr/publications/iros2018.pdf). It allows merging segments extremely fast to fix broken detections and find large lines.
The method can be used with any line segment detector. We use LSD here, as it was done in the original paper.
### Compile and run
Instructions tested in Ubuntu 18.04:
```
sudo apt-get install build-essential libopencv-dev
mkdir build && cd build
cmake ..
make -j
./fsg_main
```
If everything goes well you should be able to see the following demo:

### Cite
```bibtex
@inproceedings{suarez2018fsg,
author={Su{\'a}rez, Iago and Mu{\~n}oz, Enrique and Buenaposada, Jos{\'e} M and Baumela, Luis},
booktitle={2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
title={FSG: A statistical approach to line detection via fast segments grouping},
year={2018},
pages={97-102},
doi={10.1109/IROS.2018.8594434}
}
```