Training models for LSVM detector [closed]
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'.
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.
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