Ask Your Question
0

persistence.cpp rejects haarcascade_frontalface_default.xml

asked 2013-06-06 23:56:21 -0600

johnw gravatar image

Hi,

I am using Cross Compiled OpenCV 2.4.3 on an ARM platform. I have used ccmake. utility to produce statically linked libraries and then compiled them into my program as one very large executable ( around 10MB ).

I am having an issue where when trying to load the haarcascade_frontalface_default.xml, persistence.cpp rejects it.

OpenCV Error: Parsing error (/home/pi/testio/configxml/data/haarcascades/haarcascade_frontalface_default.xml(1): There should be space between attributes) in icvXMLParseTag, file /Users/jw/opencv243/modules/core/src/persistence.cpp, line 2233
terminate called after throwing an instance of 'cv::Exception'
what():
/Users/jw/opencv243/OpenCVrbp/opencv243/modules/core/src/persistence.cpp:2233: error: (-212) /home/pi/testio/configxml/data/haarcascades/haarcascade_frontalface_default.xml(1): There should be space between attributes in function icvXMLParseTag

I would truly appreciate some help in resolving this.

Thank you. John

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-17 09:20:57 -0600

egem gravatar image

Dear John,

I am facing with the same issue. Could you please let me know whether you could fix this issue?

Best Regards,

Ege

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-06 23:56:21 -0600

Seen: 1,316 times

Last updated: Jun 06 '13