0
我想學習級聯分類器學習車牌。我在帶有16 GB RAM和3,4 GHz i7處理器的Windows 7服務器上運行OpenCV 2.4.9。我想訓練的分類,但是它從來沒有連續第3階段opencv火車分類器永遠contiueus 3階段
這是我做了我的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
參數:
D:\xxxx\trainingBinairImages\build\x64\vc12\bin\opencv_traincascade.exe -data D:\xxxx\trainingBinairImages\result -vec output_vec.vec -bg negativeNew.bg -numPos 2980 -numNeg 3311 -miniHitRate 0.995 -maxFalseAlarmRate 0.5 -w 140 -h 40 -featureType HAAR -precalcValBufSize 2048 -precalcIdxBufSize 2048
pause
從cmd:
===== TRAINING 3-stage =====
<BEGIN
POS count : consumed 2980 : 2981
Train dataset for temp stage can not be filled. Branch training terminated.
如果需要查看文件,我將編輯額外的。我試圖改變numStages的正值和負值。更改目錄路徑等網上有這個問題,我嘗試沒有解決方案。