根据LSD 类的引用,默认构造函数在line_descriptor
. 但是看一眼模块就会发现这是它的内容。
# 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
对xfeatures2d的研究也没有结果。
但是,根据此示例,该模块确实存在。我在哪里可以找到 Python 中的这个模块?
我正在使用 OpenCV 3.2.0