1 | initial version |
Well, you are asking the algorithm to reach a global false alarm rate of 0.1 with a hitrate of 0.99 on only 10 stages. Each stage, the traincascade will need more and more time to process the negative samples, and it will only get worse as you advance through the stages. Choosing 0.1 FA rate seems to be too demanding, unless the object you are trying to find is very rigid with little variation to background conditions. Try using 20 stages instead of 10, and if that doesn't work, you'll probably have to choose a higher FA rate. Keep in mind that as you advance through stages, they will take longer and longer to train, for example, the last time I trained a 20 stage cascade, the last stage took as much time as the other 19 stages. Good luck