opencv_traincascade hanging with LBP tag
When I run this command:
opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt -featureType LBP -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 100 -numNeg 750 -w 72 -h 24 -mode ALL -precalcValBufSize 1024 -precalcIdxBufSize 1024
The trainer is stuck at this stage indefinitely, using 99.x% of the CPU. This happens on Macs with both 4GB ram and 16GB ram.
===== TRAINING 0-stage ===== <begin pos="" count="" :="" consumed="" 100="" :="" 100="" neg="" count="" :="" acceptanceratio="" 750="" :="" 1<="" p="">
Without the -featureType LBP it runs fine seemingly and uses a reasonable amount of CPU (13%). My data is as follows: 11 initial positive images, 750 negatives -> create_samples returning 250 positive images. Am I doing something wrong?
Can you tell us what version of OpenCV you are using?
2.4.9 running the compiled source found in the install directory
Weird, i that is your output than someone changed the interface. My 2.4.8 install doesn't have the same outputs at each stage. However it could be due to MAC also ... let me think about it.
trying LBP again using 99% of total CPU again and not doing a whole lot.