2017-06-07 05:59:41 -0600 | asked a question | Android App don't load SVM trained (on C++) file for recognition I've trained a svm using OpenCV 3.2 on C++. Just like that Now I try to load the produced xml file on Android, I use the OpenCV4Android (OpenCV 3.2). But the load function seems not to work. the load function SVM svm = SVM.load("svm_filename.xml"); just throws an exception (the path is correct because I included the xml file in the App).
On C++ everything's fine, the load function works fine
I don't understand why the svm type is mentioned as missing. When I take a look a the XML file the svm type is C_SVC. here is a part of the xml I don't know what I miss. can someone please help me? |