Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv/data/haarcascades/haarcascade_frontalface_default.ext : File format not recognized

I was trying to execute the sample code provided in http://docs.opencv.org/3.0-beta/modules/face/doc/facerec/tutorial/facerec_video_recognition.html for face recognition. When i run my executable with second argument as path to haarcascade and third argument as path to csv file, i am getting error message as haarcascade_frontalface_default.ext file format not recognized. I am using OpenCV 2.4.9

opencv/data/haarcascades/haarcascade_frontalface_default.ext opencv/data/haarcascades/haarcascade_frontalface_default.xml : File format not recognized

I was trying to execute the sample code provided in http://docs.opencv.org/3.0-beta/modules/face/doc/facerec/tutorial/facerec_video_recognition.html for face recognition. When i run my executable with second argument as path to haarcascade and third argument as path to csv file, i am getting error message as haarcascade_frontalface_default.ext file format not recognized. I am using OpenCV 2.4.9