Home

Awesome

<img height="23" src="https://github.com/lh9171338/Outline/blob/master/icon.jpg"/> PaddleLSD

This is a line segment detection package based on PaddlePaddle.

Install

git clone https://github.com/lh9171338/PaddleLSD.git
cd PaddleLSD
python -m pip install -r requirements.txt
python -m pip install -v -e .

Train

sh train.sh <config>

Test

sh test.sh <config>

Metric

modelconfigmsAPsAP5sAP10sAP15mAPJFPS
LPNconfig57.654.558.260.054.522
LPN-TwoStageconfig58.955.959.561.154.526
RepLPNconfig58.154.858.960.754.847
RepLPN-DCNconfig61.358.561.963.655.945
RepLPN-DDCNconfig57.354.157.959.853.845