Segmentation fault using haartraing in opencv [closed]
I run the command opencv_haartraining -data data/cascade -vec samples1.vec -bg negative/infofile.txt -npos 231 -nneg 500 -ntages 25 -mem 2000 -mode ALL -w 25 -h 15
in Centos 6 and it returns Segmentation fault.
Actually giving the command without any error output will not help us to get you the solution. But like suggested before, swith to the new traincascade interface! The old haartraining is depricated... Put some effort in your questions!
And stick to a single question please! Use the edit button.... I will close this one, the other will be kepth open. http://answers.opencv.org/question/24374/opencv_traincascade-can-not-trained/