Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cannot save SVM in OpenCV4Android 3.2 after upgrade: Fatal signal 11

I just upgraded to 3.2.0 from 2.4.9 and it seems like the save function is broken? All I did was change CvSVM to SVM

SVM svmClassifier = SVM.create(); 
File svm_file = new File(dir, "svm_test.xml");
svmClassifier.save(svm_file.toString());

will now report A/libc: Fatal signal 11 (SIGSEGV) at 0x644e98f8 (code=2), thread 2380 (Thread-6433). The same flow worked fine with 2.4.9 and CvSVM. Help?