opencv_traincascade always halts on stage 4.i
While trying to train a cascade classifier opencv_traincascade process always halts at stage 4.
I have 7358 of negative samples. where i list their relative path in the negative_samples file, and I have 17600 positive samples in the positives.vec file.
opencv_traincascade -data cascade -vec samples/positives.vec -bg negative_samples -numStages 20 -precalcValBufSize 10 -precalcIdxBufSize 200 -acceptanceRatioBreakValue 0.0001 -w 50 -h 50 -mode ALL -maxWeakCount 100 -maxDepth 1 -weightTrimRate 0.95