Open cxwall opened 7 years ago
It is NOT fixed. The error persists.
What are you loading with cvLoad?
I'm trying to run FaceDetect demo. It fails with this error message: OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file C:\build ... \core\src\persistence.cpp, line 5008. EExternalException: External exception E06D7363
Exception is thrown on line 97: .... // load the trained haar cascade classifier from file // and create storage required for detections cascade := cvLoad(cascade_name, nil, nil, nil); <----- exception ... at that cascade_name is equal to '....\resource\facedetectxml\haarcascade_frontalface_alt.xml'.
I've tried different classifier file names, but problem persists. OpenCV is compliled with VS2015, Delphi version is 10.2 Tokyo.
In version 2.4.13, developers began to switch to the new Haar cascade file format. This was due to the development of the OpenCV 3.0 branch. The developers broke cvLoad for Haar cascade and recommended using C++ classes (CascadeClassifier cascade). Some Haar cascades remain in the old format, such as haarcascade_frontalface_default.xml. Other Haar cascades need to be tested.
when i intall the environment,and run the samples。step by cvLoad function。The application throw the "External exception E06D7363"。who know it,can you tell me?