You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace cv::String Str = imagepath; for std::string Str = imagepath;
thanks for your reply, i replace cv::String Str = imagepath; for std::string Str = imagepath in the line 221 and line 248 of main.cpp, it seems to encounter anothor problem in line 248 "std::string &Str = NameFaces[i];" with error "cannot initialize a reference of type "std::__cxx11::string &" with a value of type "cv::String" (non-const qualified)", how can i address it, thank you.
cv::String is linked to std::string. They are almost identical. Somehow your OpenCV installation doesn't support all the std::string calls. Best to use not cv::String but std::string. This way you know for sure everything works well.
I have updated the code. Please replace main.cpp with the new version found in this repo.
i got error ‘class cv::String’ has no member named ‘erase’ when i build this project in codeblocks, how can i address it?
The text was updated successfully, but these errors were encountered: