Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV - training new LatentSVMDetector Models

Tags:

opencv

I haven't found any method to train new latent svm detector models using openCV. I'm currently using the existing models given in the xml files, but I would like to train my own.

Is there any method for doing so?

Thank you,

Gil.

like image 376
GilLevi Avatar asked Jul 09 '13 11:07

GilLevi


1 Answers

As of now only DPM-detection is implemented in OpenCV, not training. If you want to train your own models, the most reliable approach is to use Felzenszwalb's and Girshick's matlab code (most of the heavy stuff is implemented in C) (http://www.cs.berkeley.edu/~rbg/latent/)(http://www.rossgirshick.info/latent/) It is reliable and works reasonably fast

If you want to do it in C-only, there is an implementation here (http://libccv.org/doc/doc-dpm/) that I haven't tried myself.

like image 135
kamjagin Avatar answered Dec 29 '22 09:12

kamjagin