I am using OpenCv 2.4.10
.
I have recently tried to create my own cascade classifier to detect robotino; I have 240 negative samples and 650 positive samples. But I am getting confused in the values I should give to the opencv_traincascade
.
numNeg
: states the number of negative samples used in each stage. How should I calculate this parameter?numStage
: How should I tell the number of stages wanted ?