Ask Your Question

hzw's profile - activity

2017-08-08 08:43:24 -0600 received badge  Notable Question (source)
2016-12-16 11:22:00 -0600 received badge  Popular Question (source)
2016-08-29 09:52:46 -0600 commented question opencv-3.1.0 compile with contrib error when compile aruco

If you don't use Aruco, just make it OFF in cmake, compile other module is fine

2016-08-29 04:59:35 -0600 commented question opencv-3.1.0 compile with contrib error when compile aruco

thanks a lot, I got the opencv-3.1.0 source from the download page not the github, but the contrib is from the github, I'll try to get just from github.@berak @StevenPuttemans

2016-08-28 00:56:24 -0600 received badge  Student (source)
2016-08-28 00:30:58 -0600 asked a question opencv-3.1.0 compile with contrib error when compile aruco

...../opencv_contrib/modules/aruco/src/charuco.cpp: In function ‘double cv::aruco::calibrateCameraCharuco(cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::Ptr<cv::aruco::charucoboard>&, cv::Size, cv::InputOutputArray, cv::InputOutputArray, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays, cv::OutputArray, cv::OutputArray, cv::OutputArray, int, cv::TermCriteria)’:

..../opencv_contrib/modules/aruco/src/charuco.cpp:741:59: error: cannot convert ‘const cv::_OutputArray’ to ‘int’ for argument ‘8’ to ‘double cv::calibrateCamera(cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::Size, cv::InputOutputArray, cv::InputOutputArray, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays, int, cv::TermCriteria)’ _perViewErrors, flags, criteria); ^