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

asked 2015-08-22 00:14:00 -0500

lm35 gravatar image

updated 2015-08-22 00:27:20 -0500

I was trying to execute the sample code provided in 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

edit retag flag offensive close merge delete


  • that is probably haarcascade_frontalface_default.xml , not .ext

  • if you're using opencv2.4, please stick to: 2.4 docs/samples , the 3.0 version differs sigificantly

berak gravatar imageberak ( 2015-08-22 00:21:56 -0500 )edit

it is ".xml", sorry for the typo error

lm35 gravatar imagelm35 ( 2015-08-22 00:41:37 -0500 )edit