我想知道是否有人成功地使用了 Latent SVM Detector (http://docs.opencv.org/modules/objdetect/doc/latent_svm.html) 的 OpenCV 实现。有一个示例代码显示了如何使用该库,但问题是示例代码使用了使用 MatLab 生成的现成检测器模型。有人可以指导我完成有关如何生成我自己的检测器模型的步骤吗?
最佳答案
LatSVM 的 MATLAB 实现该论文的作者有一个名为 pascal
的火车脚本。有一个 README 和 tarball 解释了它的用法:
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'.
欲了解更多信息,请访问 authors website .该页面还包含该方法的论文。
关于matlab - OpenCV 和 Latent SVM 检测器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11832447/