Ask Your Question

mope001's profile - activity

2015-12-07 23:27:30 -0600 received badge  Famous Question (source)
2015-07-21 07:16:01 -0600 received badge  Notable Question (source)
2015-06-02 21:43:44 -0600 received badge  Popular Question (source)
2014-10-07 06:27:02 -0600 commented answer building OpenCV 3 with extra modules

Could you clarify this for me? Does "-D BUILD_opencv_python2=OFF" mean that you wont install python wrappers? And can I use opencv from python without these wrappers? I thought there are two alternatives: wrappers or compiled libraries like some_module.o which you can call in terminal, for example. So now I can use some_module.o files from python. Am I right?

2014-10-07 04:59:55 -0600 commented answer building OpenCV 3 with extra modules

Thanks for the answer, Steven! However, this cant solve the problem for me. I have tried to avoid this error by using "-DBUILD_opencv_ccalib=OFF". Unfortunately, I got another error:

Generator error: the class for method createDTFilter is missing make[2]: * [modules/python2/pyopencv_generated_include.h] Error 255 make[1]: [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs....

Could you please help me solve this problem?

PS: There is no errors if I add to cmake "-D BUILD_opencv_python2=OFF". However, I still cant use opencv_contrib modules using python 2.7

2014-10-07 04:23:01 -0600 received badge  Scholar (source)
2014-10-05 18:37:50 -0600 received badge  Editor (source)
2014-10-05 18:36:06 -0600 asked a question building OpenCV 3 with extra modules

Hello everyone! Could you please help me solve this problem? While running make I have this issue:

[100%] Built target opencv_test_xfeatures2d

In file included from /home/a/openCV/OpenCV/opencv_contrib/modules/ccalib/src/ccalib.cpp:47:0:

/home/a/openCV/OpenCV/opencv_contrib/modules/ccalib/include/opencv2/ccalib.hpp:94:97: error: ‘SOLVEPNP_ITERATIVE’ was not declared in this scope OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess = false, int flags = SOLVEPNP_ITERATIVE);

...........

                                                                                            ^

make[2]: * [modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/ccalib.cpp.o] Error 1

make[1]: * [modules/ccalib/CMakeFiles/opencv_ccalib.dir/all] Error 2

make: * [all] Error 2

I use following cmake:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUBLAS=ON -D WITH_CUFFT=ON -D WITH_EIGEN=OFF -D WITH_OPENGL=ON -D WITH_QT=ON -D WITH_TBB=ON -D BUILD_DOCS=ON -D BUILD_EXAMPLES=ON -D BUILD_TESTS=ON -D CUDA_ARCH_BIN="3.0" -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..

2014-10-05 18:13:15 -0600 commented question error while trying to compile opencv3

Thanks! I had the same issue and after installing 1.6 and changing alternatives this place compiled successfully. However, now I have another issue. Could you please suggest any solution?

[100%] Built target opencv_test_xfeatures2d In file included from /home/a/openCV/OpenCV/opencv_contrib/modules/ccalib/src/ccalib.cpp:47:0: /home/a/openCV/OpenCV/opencv_contrib/modules/ccalib/include/opencv2/ccalib.hpp:94:97: error: ‘SOLVEPNP_ITERATIVE’ was not declared in this scope OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess = false, int flags = SOLVEPNP_ITERATIVE); ^ make[2]: * [modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/ccalib.cpp.o] Error 1

2014-10-05 18:09:05 -0600 received badge  Supporter (source)