According to the LSD class reference, the default constructor is under line_descriptor. But a peek into the module reveals this as its contents.
# encoding: utf-8
# module cv2.line_descriptor
# from /Users/****/anaconda/lib/python2.7/site-packages/cv2.so
# by generator 1.144
# no doc
# no imports
# Variables with simple values
DrawLinesMatchesFlags_DEFAULT = 0
DrawLinesMatchesFlags_DRAW_OVER_OUTIMG = 1
DrawLinesMatchesFlags_NOT_DRAW_SINGLE_LINES = 2
DRAW_LINES_MATCHES_FLAGS_DEFAULT = 0
DRAW_LINES_MATCHES_FLAGS_DRAW_OVER_OUTIMG = 1
DRAW_LINES_MATCHES_FLAGS_NOT_DRAW_SINGLE_LINES = 2
# no functions
# no classes
A look into xfeatures2d bore no fruits as well.
According to this example though, the module does exist. Where can I find this module in Python?
I am using OpenCV 3.2.0