opencv列车分类器从不连续3级

2024-10-02 20:31:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试学习级联分类器来学习车牌。我在Windows7服务器上运行OpenCV2.4.9,它有16GBRAM和3.4GHz的i7处理器。我想训练分类器,但它从来没有连续的第三阶段。在

这是我如何在xxxx上制作我的.vec文件有个人信息:

D:\xxxx\trainingBinairImages\build\x64\vc12\bin\opencv_createsamples.exe -info D:\xxxx\trainingBinairImages\positiveNew.dat -bg D:\xxxx\trainingBinairImages\NegativeNew.bg -vec D:\xxxx\trainingBinairImages\output_vec.vec -maxxangle 0 -maxyangle 0 -maxzangle 0 -w 140 -h 40 -num 3311

pause

参数:

^{pr2}$

从命令:

 ===== TRAINING 3-stage =====
<BEGIN
POS count : consumed   2980 : 2981
Train dataset for temp stage can not be filled. Branch training terminated.

如果需要查看文件,我会编辑额外的。我试图更改正负数值。改变目录路径等。网上有关于这个的问题,我尝试了没有解决的解决办法。在


Tags: 文件服务器分类器处理器stage级联bg个人信息
1条回答
网友
1楼 · 发布于 2024-10-02 20:31:28

答案在另一个形式the_link上求解

Hmm that is your problem. You need to supply larger images as negative instead of cropped windows. Imagine that you will need a lot of windows! Each negative window that is classified correctly by the previous stages cannot be used again for the new stage. So most people just supply tons of not object images, the software will do its own job of cutting out the negatives randomly for you.

相关问题 更多 >