Ask Your Question

Revision history [back]

latentsvmdetector - Converting Matlab models to xml

Hi,

I came across the following code to convert latentsvm-detector Matlab models to xml:

https://code.ros.org/trac/opencv/browser/trunk/opencv_extra/testdata/cv/latentsvmdetector/mat2xml.m

This code is very helpful to me, as I'm training new models in Matlab.

However, the code refers to model.rootfilters and model.partfilters that do not exist in the Matlab model (I loaded one of the models available in the matlab package).

Is there a new version of the mat2xml.m that I should use? Is there any way to fix this?

Can someone please guide me as to how to covert models from Matlab format to xml using mat2xml.m? I'm quite stuck and any help will be very helpful.

Thanks,

Gil.