我想知道是否有人已经设法(使用潜SVM探测器的OpenCV的执行http://docs.opencv.org/modules/objdetect/doc/latent_svm.html )成功。 有示出如何利用库中的样本代码,但问题是,样本代码使用已用MATLAB产生一个现成的检测器模型。 可有一个人指导我如何生成我自己的探测器模型的步骤是什么?
Answer 1:
这个Matlab实现的LatSVM由论文的作者有一列火车脚本调用pascal
。 有一个与压缩包,解释其用途的自述:
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'.
欲了解更多信息,请访问作者的网站 。 该页面还包含了该方法的论文。
文章来源: OpenCV and Latent SVM Detector