Skip to content
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

Convert Error #5

Open
zegufe2015 opened this issue Apr 9, 2016 · 3 comments
Open

Convert Error #5

zegufe2015 opened this issue Apr 9, 2016 · 3 comments

Comments

@zegufe2015
Copy link

Hi David,

When I run stereo_calibrate.cxx I have an error like below.
What is the problem?
What shoul I do?
Thank you.

../stereo_calibrate/main.cpp:94: error: cannot convert 'CvTermCriteria' to 'int' for argument '13' to 'double cv::stereoCalibrate(cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::InputOutputArray, cv::InputOutputArray, cv::InputOutputArray, cv::InputOutputArray, cv::Size, cv::OutputArray, cv::OutputArray, cv::OutputArray, cv::OutputArray, int, cv::TermCriteria)'
CV_CALIB_SAME_FOCAL_LENGTH | CV_CALIB_ZERO_TANGENT_DIST);
^

@daviddoria
Copy link
Owner

Are you talking about this file?
https://github.com/daviddoria/Examples/blob/master/c%2B%2B/OpenCV/StereoCalibration/StereoCalibration.cxx

(I'm not sure I'll know the answer anyway - it's been years since I've looked at this)

@zegufe2015
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants