zhou13 / lcnn

LCNN: End-to-End Wireframe Parsing
MIT License
494 stars 94 forks source link

`lines[i] == lines[0]` as the stop condition in process.py #35

Closed hua-wu-que closed 4 years ago

hua-wu-que commented 4 years ago

Does anyone know how this line works?

if i > 0 and (lines[i] == lines[0]).all():

zhou13 commented 4 years ago

The line detection module appends lines[0] to the last detected line to indicate the end of lines.