Ask Your Question

Revision history [back]

line descriptor for python doesn't work properly

Hi, I"m a new user with opencv, and I"m trying to use it on python 2.7 (Mac OS), I used this guide to install the opencv 3 on my mac and bulid it for python: http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/ the problem is some modules doesn't work properly, for example, cv2.line_descriptor doesn't contain any functions and all I can see when I create this object is some constants for drawing, here is what the line_descriptor.py contain:

encoding: utf-8

module cv2.line_descriptor

from /Users/r/.virtualenvs/cv/lib/python2.7/site-packages/cv2.so

by generator 1.136

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

in addition, I there are some modules that completely uninstalled, even though the cmake show them on the modules list, such as xobjdetect and saliency. (perhaps there are more errors that I didn't find yet).

Is anyone can help me how to fix this isuue?

thanks!

click to hide/show revision 2
No.2 Revision

updated 2015-12-24 05:52:19 -0600

berak gravatar image

line descriptor for python doesn't work properly

Hi, I"m a new user with opencv, and I"m trying to use it on python 2.7 (Mac OS), I used this guide to install the opencv 3 on my mac and bulid it for python: http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/ the problem is some modules doesn't work properly, for example, cv2.line_descriptor doesn't contain any functions and all I can see when I create this object is some constants for drawing, here is what the line_descriptor.py contain:

# encoding: utf-8

utf-8 # module cv2.line_descriptor

cv2.line_descriptor # from /Users/r/.virtualenvs/cv/lib/python2.7/site-packages/cv2.so

/Users/r/.virtualenvs/cv/lib/python2.7/site-packages/cv2.so # by generator 1.136

no doc

no imports

1.136 # no doc # no imports # Variables with simple values

values DrawLinesMatchesFlags_DEFAULT = 0

0 DrawLinesMatchesFlags_DRAW_OVER_OUTIMG = 1

1 DrawLinesMatchesFlags_NOT_DRAW_SINGLE_LINES = 2

2 DRAW_LINES_MATCHES_FLAGS_DEFAULT = 0

0 DRAW_LINES_MATCHES_FLAGS_DRAW_OVER_OUTIMG = 1

1 DRAW_LINES_MATCHES_FLAGS_NOT_DRAW_SINGLE_LINES = 2

no functions

no classes

2 # no functions # no classes

in addition, I there are some modules that completely uninstalled, even though the cmake show them on the modules list, such as xobjdetect and saliency. (perhaps there are more errors that I didn't find yet).

Is anyone can help me how to fix this isuue?

thanks!