Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cascade Training Error

Hi,

I've got a problem with Cascade Training. At Stage 8 I get this Error:

OpenCV Error: One of arguments' values is out of range (No components/input_variables is selected!) in cvPreprocessIndexArray, file /build/buildd/opencv-2.3.1/modules/ml/src/inner_functions.cpp, line 432 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.3.1/modules/ml/src/inner_functions.cpp:432: error: (-211) No components/input_variables is selected! in function cvPreprocessIndexArray

Any idea what the problem is?

This was the start of the classification:

./opencv_traincascade -data results -vec samples/yuki.vec -bg negatives/negatives.txt -numPos 1000 -numNeg 2000 -w 50 -h 50 -featureType LBP -precalcValBufSize 2048 -precalcIdxBufSize 2048