Ask Your Question

Revision history [back]

Weka Model to OpenCV Compatible SVM Model

Since OpenCV's implementation of SVM is based on LibSVM, I was wondering if the model produced by Weka can somehow be imported by CvSVM. After checking the documentation, CvSVM has a 'load' method. However, it only accepts XML based files. If I were to export a model from Weka in XML, would it be compatible if ever with OpenCV? Has anyone done this sort of thing before?

Just a little background: I'm creating an Android application that will use OpenCV's CvSVM. I already have the SVM model trained in Weka.