Ask Your Question

jacobu's profile - activity

2016-12-18 07:45:39 -0600 received badge  Famous Question (source)
2016-01-25 01:52:54 -0600 received badge  Notable Question (source)
2015-10-28 07:32:57 -0600 received badge  Popular Question (source)
2015-07-14 09:04:57 -0600 received badge  Student (source)
2014-09-24 16:37:09 -0600 commented question Add Modules from opencv_contrib to opencv 3.0

I've tried the latest version. I find that the modules can be installed in the release folder, but I still don't find the corresponding folder in my opencv_source_directory. When I want to use cv2.SURF, it still says that ' AttributeError: 'module' object has no attribute 'SURF''. Can you help me more about it? Thank you!

2014-09-23 17:55:55 -0600 commented question Add Modules from opencv_contrib to opencv 3.0

Thank you for your information. Now some modules can be installed, but the modules: xfeature2d, matlab,python,cvv still failed installing.

2014-09-22 17:57:06 -0600 asked a question Add Modules from opencv_contrib to opencv 3.0

When I follow the instruction in Git and type

cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D CMAKE_INSTALL_PREFIX=/usr/local ..

it reported

Python error: <stdin> is a directory, cannot continue
Python error: <stdin> is a directory, cannot continue
Python error: <stdin> is a directory, cannot continue
CMake Error at modules/python/CMakeLists.txt:78 (set_target_properties):
  set_target_properties called with incorrect number of arguments.

the set_target_properties in the file was used as:
set_target_properties(${the_module} PROPERTIES
                      LIBRARY_OUTPUT_DIRECTORY  "${LIBRARY_OUTPUT_PATH}/${MODULE_INSTALL_SUBDIR}"
                      PREFIX ""
                      OUTPUT_NAME cv2
                      SUFFIX ${CVPY_SUFFIX})

I also tried to move the modules in opencv_contrib to opencv and install them , but xfeature2d, matlab,python,cvv failed even though the other modules succeed being installed.

Can anyone tell me what I need to change or correct? Thanks