I'm trying to detect objects and I created 241 samples with opencv_createsamples.exe -info D:\res\p\p.txt -vec D:\res\p\p.vec -w 50 -h 20 -num 241
it's output was successful and then did train process with opencv_traincascade.exe -data D:\Cascade -vec D:\res\p\p.vec -bg D:\res\bg\bg.txt -mode ALL -w 50 -h 20 -numPos 215 -numNeg 530
and also it finished well to. But when I try to test performance the trained data with opencv_performance.exe -data D:\Cascade\cascade-haar-20stages-215samples.xml -d D:\res\test\test.txt -w 50 -h 20
, it is returning OpenCV Error: Unspecified error (size node is not a valid sequence.) in icvReadHaarClassifier, file C:\opencv\sources\modules\objdetec\src\haar.cpp, line 2072
. I've looked the lines but I didn't understand anything. I'm using OpenCV-2.4.9 compiled with Visual Studio 2012 on Windows 7 64-bit. Now I'm creating old-style data set with opencv_haartraining.exe
but it's still at 16th-stage at 0% since 7 hours. But I want to know why the new classifier is giving this error?