iago-suarez / pytlsd

Python transparent bindings for LSD (Line Segment Detector)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytlsd

Python transparent bindings for LSD (Line Segment Detector)

Bindings over the original C implementation of LSD, that allows to change the different thresholds involved and to provide custom image gradientes in order to compute the method with stronger features.

Install

The current instructions were tested under Ubuntu 22.04:

sudo apt-get install build-essential cmake libopencv-dev
git clone --recursive https://github.com/iago-suarez/pytlsd.git
cd pytlsd
pip3 install -r requirements.txt
pip3 install .

Execution

python3 tests/test.py

About

Python transparent bindings for LSD (Line Segment Detector)

License:MIT License


Languages

Language:C++ 73.3%Language:C 12.9%Language:Python 10.1%Language:Shell 2.3%Language:CMake 1.3%