Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cvLoad fails to load cascade.xml (Android)

Hello,

I am attempting to load a cascade xml file and am receiving the following error on calling cvLoad:

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in void* cvRead(CvFileStorage, CvFileNode, CvAttrList*), file /home/saudet/projects/javacv-cppjars/opencv-2.4.8/modules/core/src/persistence.cpp, line 4991

I have checked that the xml file exists and is readable. There seem to be a lot of different solutions other people have found for this but none of them have worked for me.

You can view my xml file here: http://pastebin.com/6x2QFhrQ

Let me know if there is any other information that can help you identify the problem.

Thanks for your help!

cvLoad fails to load cascade.xml (Android)

Hello,

I am attempting to load a cascade xml file and am receiving the following error on calling cvLoad:

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in void* cvRead(CvFileStorage, CvFileNode, CvAttrList*), file /home/saudet/projects/javacv-cppjars/opencv-2.4.8/modules/core/src/persistence.cpp, line 4991

I have checked that the xml file exists and is readable. There seem to be a lot of different solutions other people have found for this but none of them have worked for me.

Here is the line that it fails on:

Pointer xmlFile = cvLoad(xmlLocation + xmlName);

You can view my xml file here: http://pastebin.com/6x2QFhrQ

Let me know if there is any other information that can help you identify the problem.

Thanks for your help!

click to hide/show revision 3
retagged

updated 2014-04-15 02:14:20 -0600

berak gravatar image

cvLoad fails to load cascade.xml (Android)

Hello,

I am attempting to load a cascade xml file and am receiving the following error on calling cvLoad:

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in void* cvRead(CvFileStorage, CvFileNode, CvAttrList*), file /home/saudet/projects/javacv-cppjars/opencv-2.4.8/modules/core/src/persistence.cpp, line 4991

I have checked that the xml file exists and is readable. There seem to be a lot of different solutions other people have found for this but none of them have worked for me.

Here is the line that it fails on:

Pointer xmlFile = cvLoad(xmlLocation + xmlName);

You can view my xml file here: http://pastebin.com/6x2QFhrQ

Let me know if there is any other information that can help you identify the problem.

Thanks for your help!

cvLoad fails to load cascade.xml (Android)

Hello,

I am attempting to load a cascade xml file and am receiving the following error on calling cvLoad:

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in void* cvRead(CvFileStorage, CvFileNode, CvAttrList*), file /home/saudet/projects/javacv-cppjars/opencv-2.4.8/modules/core/src/persistence.cpp, line 4991

I have checked that the xml file exists and is readable. There seem to be a lot of different solutions other people have found for this but none of them have worked for me.

Here is the line that it fails on:

Pointer xmlFile = cvLoad(xmlLocation + xmlName);

You can view my xml file here: http://pastebin.com/6x2QFhrQ

Let me know if there is any other information that can help you identify the problem.

Thanks for your help!