Cascade Classifier - Utilize less processor with TBB training.
Hello, i am using OpenCV cascade training with LBP (or HAAR), and use TBB for multi-threading. The computer that i am using have 64 cores, cool. However more people use the computer. My training use 100% of all able processors (that do not being used), and this disturb other programs that are running. I want use less processor for the training (5~10 processors). How do I do this? If possible. Excuse me my english :(.
Thank you people.
Try to use setNumThreads(8)
Don't exists this parameter in opencv_traincascade. It works?
The command line would look like this:
opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1300 -numNeg 1400 -w 48 -h 128 -mode ALL -precalcValBufSize 8192 -precalcIdxBufSize 8192 -featureType LBP setNumThreads(8)
sorry it is -numthread
Do not works. Continue using 64 threads spreading out to 64 cores. :(