-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: ‘Rodrigues’ is not a member of ‘cv’ #21
Comments
I am sorry for my late response. |
@anhttran .. yes. i have the same problem. My opecv version is 3.3.0. Can you tell us how to change the code for opencv 3.3.0. |
How we can run this code in opencv3.3.0 ??? I think there will some changes regarding contrib module. Can anybody help in this regards.. |
I install the dependices on other system and install opencv2.4.9 version. Its compile successfully.. |
Same problem, my opencv version is 3.3.1 . |
My code currently supports only OpenCV 2. Please install OpenCV 2 (e.g. opencv2.4.9) and config your code to use it. Best, |
I edited codes to supports opencv3 |
@QuantumLiu how to edit the code? |
@leaf918 It's quite complex.The key point is those member functions is contain in opencv3/xxx.h instead of cv2.h |
To fix this problem ,my solution is install opencv 2413 aside opencv3x,and modify the cmakelist.txt file in the project with refer opencv2413. |
Add this line: |
when i use "make" to compile this project, i have a mistake as follows:
/home/zhangyao/zyao/3dmm_cnn/modules/PoseExpr/src/BaselFaceEstimator.cpp: In member function ‘void BaselFaceEstimator::estimatePose3D(cv::Mat, cv::Mat, cv::Mat, cv::Mat&, cv::Mat&)’:
/home/zhangyao/zyao/3dmm_cnn/modules/PoseExpr/src/BaselFaceEstimator.cpp:207:2:
error: ‘Rodrigues’ is not a member of ‘cv’
cv::Rodrigues(rMatP, rVec);
^
modules/PoseExpr/CMakeFiles/PoseExprLib.dir/build.make:134: recipe for target 'modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/BaselFaceEstimator.cpp.o' failed
make[2]: *** [modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/BaselFaceEstimator.cpp.o] Error 1
CMakeFiles/Makefile2:140: recipe for target 'modules/PoseExpr/CMakeFiles/PoseExprLib.dir/all' failed
make[1]: *** [modules/PoseExpr/CMakeFiles/PoseExprLib.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
i installed opencv 2.4.13 .
The text was updated successfully, but these errors were encountered: