-
Notifications
You must be signed in to change notification settings - Fork 77
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 accumulate #8
Comments
i have the same error,opencv version ? |
add |
I got the same problem, may I ask how did you solve it? Thanks a lot:) |
add what? could you tell me the details, thank you a lot |
and use std::accumulate to replace accumulate |
Yes, thank you @libing64, It work |
really helpful, thank you! |
the place is RoadMarkingExtraction/src/imageprocess.cpp and add #include in second line and use std::accumulate to replace accumulate |
Hi ,
I am getting the following error while doing the Make process.
error: invalid initialization of reference of type ‘cv::InputArray {aka const cv::_InputArray&}’ from expression of type ‘std::vector::iterator {aka __gnu_cxx::__normal_iterator<float*, std::vector >}’
ave[i][j] = (0.001 + accumulate(begin(matrixi[i][j]), end(matrixi[i][j]), 0.0)) / matrixi[i][j].size();
The text was updated successfully, but these errors were encountered: