2016-09-06 44 views
4

我至今尝试过...为什么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. 

如何培养哈尔模型非常少的阳性?目标是追踪二维图像中的二维图像。

回答

相关问题