Training models for LSVM detector

asked 2015-06-10 05:47:05 -0500

sneap gravatar image

How do you train the models for the LSVM detector in opencv_contrib/modules/latentsvm/testdata/latentsvm/models_VOC2007_cascade?
I managed to train a bicycle model using voc-release5.
I got a .mat-file containing the model. Classification using this model works in Matlab.

But I can't convert the .mat-file to an .xml-file using the file mat2xml.m as my .mat-file contains neither the field 'rootfilters' nor the field 'partfilters' but just one field 'filters'.

edit retag flag offensive close merge delete

Comments

The conversion tool doesn't work anymore since the implementation of OpenCV was updated to use the star based particle filter approach. The models where manually adapted by some of the core devs to be still able to work on the new implementation. They were just the standard VOC models that were converted to a usable OpenCV format.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-11 08:29:23 -0500 )edit

So is there any idea how to make that piece of code?. I want to retrain the LSVM and i don't know how to map the .mat to the .xml

Fadwa gravatar imageFadwa ( 2017-10-03 06:09:59 -0500 )edit