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.
I share your pitty, but I do not think that people actually rewrote a new mat2xml file for converting the new structure. I haven't been lucky to find a single working convertion m-file.
Thanks for the answer. I'll guess I'll have to write something myself.
If you do so, feel free to create a pull request with the conversion tool. More info on the 'how to contribute' page.
Hi GilLevi, I am also having the same problem. I generated a new model using Pascal VOC development code but converting the mat file to an XML seems to be a night mare. Did you have any luck with mat2xml.m for the new model structure. Looking forward to your reply.
Please could you give me the procedure to generate new models? thanks.
The standard matlab implementation of the latentsvm detector and training software can be found here.