Hi, I have created an svm model using libsvm and am now trying to include this in my android project. I have written the code to extract the descriptors from an image and would like to be able to use the mat that this produces when predicting the class to which it belongs. My problem is that libsvm does not support using the mat type. I have been told that the best way to solve this issues is to convert my libsvm model into an xml file that can by used by CvSVM. However I cannot find any information on how to do this. Does anyone know of a way I would be able to convert from a libsvm model to a format that can be used by opencv?