I'm trying to create a cascade classifier with traincascade.
I run this command:
opencv_traincascade -vec vett.vec -data trained -bg NEGATIVE\neg.txt -numPos 5 -numNeg 30 -w 265 -h 182
where vett.vec is the previously created vec file with the positive samples(created with opencv_createsamples with the same -w -h parameters). trained is an empty dir.
After 2 seconds the program crash, no report of error or anything else. Don't know why maybe is a bug or something is wrong..
Thank you