我至今尝试过...为什么opencv_traincascade失败:“无法填充临时舞台的训练数据集”?
opencv_createsamples -info positive/positive.txt -vec positive.vec -w 100 -h 100 -num 2
opencv_createsamples -info negative/negative.txt -vec negative.vec -w 100 -h 100 -num 2
opencv_traincascade -vec positive.vec -data . -bg negative/negative.txt -numPos 1 -numNeg 1 -numStages 1 -w 100 -h 100
# outputs
Train dataset for temp stage can not be filled. Branch training terminated. Cascade classifier can't be trained. Check the used training parameters.
如何培养哈尔模型非常少的阳性?目标是追踪二维图像中的二维图像。
Ty。我已经注意到了。这是早期尝试的复制粘贴。 –
任何理由,然后,不要upvote它并将其标记为正确的? – Vynce
这不能解决问题 –