OpenCV和Latent SVM检测器

Ali*_*Ali 5 matlab opencv pattern-recognition classification

我想知道是否有人成功地使用了Latent SVM Detector的OpenCV实现(http://docs.opencv.org/modules/objdetect/doc/latent_svm.html).有一个示例代码显示如何使用库,但问题是示例代码使用了使用MatLab生成的现成检测器模型.有人可以指导我完成如何生成我自己的探测器模型的步骤吗?

Yam*_*eko 5

本文作者对LatSVM的MATLAB实现有一个名为的训练脚本pascal.有一个自述文件的tarME解释了它的用法:

Using the learning code
=======================

1. Download and install the 2006-2011 PASCAL VOC devkit and dataset.
   (you should set VOCopts.testset='test' in VOCinit.m)
2. Modify 'voc_config.m' according to your configuration.
3. Start matlab.
4. Run the 'compile' function to compile the helper functions.
   (you may need to edit compile.m to use a different convolution 
    routine depending on your system)
5. Use the 'pascal' script to train and evaluate a model. 

example:
>> pascal('bicycle', 3);   % train and evaluate a 6 component bicycle model

The learning code saves a number of intermediate models in a model cache
directory defined in 'voc_config.m'.

有关更多信息,请访问作者网站.该页面还包含此方法的论文.