Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

traincascade: how to set bType to RAB?

Hello everybody, i have serious problem.

I have to build a classifier and I came across this paper (link text).

It recommends building a classifier with a Btype parameter set to RAB (page 22 of paper).

At the command prompt I gave this command: opencv_traincascade.exe -data cascade -vec vector.vec -bg bg.txt -numPos 231 -numNeg 463 -numStages 40 -featureType LBP –bt RAB -w 120 -h 40 -minHitRate 0.999 -maxWeakCount 100

once the command is launched, unfortunately the Btype value is left on the default GAB value, not modifying it. How can I change it?

What did I do wrong? How should I set the bType parameter to RAB? is it possible to set it if you build two LBP or HOG classifiers?