Running results:
OpenCV(4.5.0) Error: Parsing error (Missing or invalid SVM type) in cv::ml::SVMImpl::read_params, file C:\build\master_winpack-build-win64-vc15\opencv\modules\ml\src\svm.cpp, line 2206
OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(4.5.0) Error: Parsing error (Missing or invalid SVM type) in cv::ml::SVMImpl::read_params, file C:\build\master_winpack-build-win64-vc15\opencv\modules\ml\src\svm.cpp, line 2206
false: svm = SVM::load(trainDataFolderPath + “\svm.xml”);