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
Okay some problems I see at the moment
Can you check if this fixes the problem?
Thank you for your information. Now some modules can be installed, but the modules: xfeature2d, matlab,python,cvv still failed installing.
And you used the latest master branch? Python and xf2d were fixed there. Matlab bindings i havent build yet!
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!
@steven , did you fix it ? I have the same problem as you an I can't find any solution