Opencv问题:Bad argument can not get new positive sample

在训练级联分类器时遇到Traincascade错误:Bad argument,提示无法从vec文件中获取新的正样本,可能的原因是vec文件中的样本数量不足。文章详细解释了正样本选择的过程,涉及到了numPose、numStages、minHitRate等参数,并给出了一个估算所需正样本数的公式,用于理解样本质量和训练需求。
摘要由CSDN通过智能技术生成

出现的问题如下:

Traincascade Error: Bad argument (Can not get new positive sample. The most possible reason is insufficient count of samples in given vec-file.



解决办法:
The problem is that your vec-file has exactly the same samples count that you passed in command line -numPos. Training application used all samples from the vec-
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值