I'm trying to build a classifier but keep getting the above error.
I have over 800 positive images in the vector file and over 1300 pics referenced in the text file.
If anybody can give me an idea of what could be going wrong it would be appreciated
regards
Jon
PS C:\Users\Jon\Desktop\test> .\opencv_traincascade.exe -data data -vec uav.vec -bg info_neg.txt -numPos 500 -numNeg 1200 -numStages 2 -w 50 -h 30 -featureType LBP
---------------------------------------------------------------------------------
Training parameters are pre-loaded from the parameter file in data folder!
Please empty this folder if you want to use a NEW set of training parameters.
--------------------------------------------------------------------------------
PARAMETERS:
cascadeDirName: data
vecFileName: uav.vec
bgFileName: info_neg.txt
numPos: 500
numNeg: 1200
numStages: 2
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
acceptanceRatioBreakValue : -1
stageType: BOOST
featureType: LBP
sampleWidth: 50
sampleHeight: 30
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
Stage 0 is loaded
===== TRAINING 1-stage =====
↧