PlateDetection.cpp
Error:(21) undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__ndk1::vector<cv::Rect_<int>, std::__ndk1::allocator<cv::Rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)'
Error:(58) undefined reference to 'cv::imwrite(cv::String const&, cv::_InputArray const&,
Error:error: linker command failed with exit code 1 (use -v to see invocation)
遇到这个错误,我的解决方案是这样的
我当前版本为19,后面手动下载r16的版本链接在下方,替换原来的NDK版本即可,编译成功。
https://dl.google.com/android/repository/android-ndk-r16-windows-x86_64.zip