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