Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in classifier?

Hi everyone,

I've built a classifier file, and I am getting the following error when attempting to use it (to detect a custom image/shape).

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file /tmp/opencv/opencv-2.4.7/modules/core/src/persistence.cpp, line 4996 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/opencv/opencv-2.4.7/modules/core/src/persistence.cpp:4996: error: (-2) The node does not represent a user object (unknown type?) in function cvRead

I know that the original haarcascade_frontalface_alt2.xml file I used during testing still works well, so not sure what the differences might be that are leading to the above error.

Any direction you could point me in would be greatly appreciated :)

Thanks