Latent SVM - training from opencv_extras

asked 2015-02-27 21:56:54 -0500

mtourne gravatar image

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] https://github.com/Itseez/opencv_extr...

edit retag flag offensive close merge delete

Comments

1

it's not gone in the master branch, just moved to opencv_contrib.

it also uses differently trained models (star) there.

berak gravatar imageberak ( 2015-02-28 10:16:19 -0500 )edit

I feel like you're not really answering the question.

mtourne gravatar imagemtourne ( 2015-03-01 11:02:23 -0500 )edit

Anyway, is there a way to train the latent SVM based on my samples? How?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-08-27 08:22:54 -0500 )edit

^^ hmm, you made it vanish !

(seems, it was replaced yesterday with this )

berak gravatar imageberak ( 2015-08-27 08:32:30 -0500 )edit

but I cannot find any train method... Is there any?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-08-27 08:53:15 -0500 )edit

just downloading .. haven't found one so far.

berak gravatar imageberak ( 2015-08-27 08:58:46 -0500 )edit