I was trying to train cascade using opencv_traincascade binary, I am using linux 3.7, I threw the below command,
opencv_traincascade -data imgs/cascade/ -numPos 200 -numNeg 8 -numStages 10 -featureType LBP -maxFalseAlarmRate 0.9 -w 640 -h 480 -vec imgs/vector.vec -bg negatve.dat
but it is giving me error "Image reader can not be created from -vec imgs/vector.vec and -bg negatve.dat."