Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Latent SVM - training from opencv_extras

Hello,

I'm using the sample code for latentsvm detector [1]. It's from opencv 2.4, this sample code actually seems to be gone in the master branch (?)

I'm using what seems to a be a pretrained model on VOC2007 [2], I'm only using the cars.xml model not all of them.

Here is the output of running the car detector on a picture of a cat : https://i.imgur.com/IltJIsC.png

It did an ok job at finding cars : https://i.imgur.com/5dbUTxf.png

But then again, everything appears to be a car ..

[1] https://github.com/Itseez/opencv/blob/2.4/samples/cpp/latentsvm_multidetect.cpp

[2] https://github.com/Itseez/opencv_extra/tree/master/testdata/cv/latentsvmdetector/models_VOC2007