【发布时间】:2015-06-01 01:45:30
【问题描述】:
我正在尝试使用 OpenCV 3.0 traincascade 来训练我自己的检测器。 我有 82 个正样本和 188 个负样本,并带有以下
opencv_traincascade -data data -vec signals.vec -bg negative.txt -numPos 82 -numNeg 188 -numStages 20 -w 50 -h 50 -featureType LBP
我能够到达第 8 阶段。在第 9 阶段我有以下错误
===== TRAINING 9-stage =====
<BEGIN
POS count : consumed 82 : 82
NEG cterminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted (core dumped)149
有人知道为什么吗? 提前谢谢你。
【问题讨论】: