We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
已经安装好apk,刚打开就闪退,run记录上写着 E/cv::error(): OpenCV Error: Parsing error (Missing or invalid SVM type) in void cv::ml::SVMImpl::read_params(const cv::FileNode&), file /Volumes/Linux/builds/master_pack-android/opencv/modules/ml/src/svm.cpp, line 2122 求大神解释。。用windows平台和mac平台都显示这个错误信息。
The text was updated successfully, but these errors were encountered:
svm.xml文件就存在res/raw里。不知道是不是opencv的问题啊。
Sorry, something went wrong.
用新的1.5 的EasyPR,就出现这个问题,如何解决呢?
可以了,要改点代码, PlateJudge::PlateJudge() { //svm_ = ml::SVM::loadml::SVM(kDefaultSvmPath); //svm_ = ml::SVM::loadml::SVM(kLBPSvmPath); extractFeature = getLBPFeatures; }
void PlateJudge::LoadModel(std::string path) { /* if (path != std::string(kDefaultSvmPath)) {
if (!svm_->empty()) svm_->clear(); svm_ = ml::SVM::load<ml::SVM>(path); } */ svm_ = ml::SVM::load<ml::SVM>(path);
}
No branches or pull requests
已经安装好apk,刚打开就闪退,run记录上写着
E/cv::error(): OpenCV Error: Parsing error (Missing or invalid SVM type) in void cv::ml::SVMImpl::read_params(const cv::FileNode&), file /Volumes/Linux/builds/master_pack-android/opencv/modules/ml/src/svm.cpp, line 2122
求大神解释。。用windows平台和mac平台都显示这个错误信息。
The text was updated successfully, but these errors were encountered: