Ask Your Question

Revision history [back]

Haar Cascade, can't handle with official tutorial example

Trying to compile this with vc2008 http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html example, but error comes out: OpenCV Error: NUll pointer <null or="" empty="" buffer=""> in cvOpenFileStorage, file..persistence.cpp

then it tries to parse cascade xml file, i guess and: OpenCV Error: Parsing error Valid XML should start with and so on about every part of xml file

Probably haarcascade.xml file was unable to load, but code check for error doesn't react in a proper way. I tried to change destination of xml files, full path but nothing helped. Then I decided to compile it with vc2010 and got the same errors. Please help me figure out whats the deal