Skip to content

ghing/python-lsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-lsd

Python bindings for the LSD line segment detector written by Rafael Grompone von Gioi, Jeremie Jakubowicz, Gregory Randall and Jean-Michel Morel.

See http://www.ipol.im/pub/art/2012/gjmr-lsd/

Usage

``` from PIL import Image import lsd

im = Image.open('chairs.pgm') pixels = [float(p) for p in im.getdata()] width, height = im.size lines = lsd.lsd(pixels, width, height) ```

About

Python wrapper for the LSD line segment detector http://www.ipol.im/pub/art/2012/gjmr-lsd/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages