Ask Your Question

pritch252's profile - activity

2016-06-21 07:42:41 -0600 asked a question Is this vec file any good

I'm trying to build a UAV classifier, but having little success.
I know I need more sample but am I on the right track? My Vec File has 300 images all scales to 50 X 30

I'm using 1200 negative images. Is it just a need for more sample or is there a fundamental error in the type of samples I'm collecting

Any pointers from some more experienced users would be appreicated. I just don't want to carry on what I'm doing for another 700 or so images if my approach itself is flawed

regards Jon

2016-06-20 11:01:21 -0600 commented question Classifier not building

Trying to detect UAV's, think it may be partly because I have side views and underside views in the same list, and the aspect ratio on some might be a little out. How do you know it thinks the samples are flawed?

2016-06-20 04:08:48 -0600 commented question Classifier not building

thank you , appreciated

2016-06-20 03:50:52 -0600 received badge  Editor (source)
2016-06-20 03:50:21 -0600 commented question Classifier not building

sorry for the poor formatting, trying to work out how to edit the original post

2016-06-20 03:44:23 -0600 asked a question Classifier not building

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 =====
<BEGIN
POS count : consumed   500 : 502
Train dataset for temp stage can not be filled. Branch training terminated.
PS C:\Users\Jon\Desktop\test>