Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During FastDetect startup 2.exe an error occurs. #147

Open
AlexSh7 opened this issue Mar 23, 2022 · 6 comments
Open

During FastDetect startup 2.exe an error occurs. #147

AlexSh7 opened this issue Mar 23, 2022 · 6 comments

Comments

@AlexSh7
Copy link

AlexSh7 commented Mar 23, 2022

During startup FastDetect 2.exe an error occurs.

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead

Error in function cvLoad

@Laex
Copy link
Owner

Laex commented Mar 24, 2022

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.
Also look in
https://github.com/opencv/opencv/tree/master/data/haarcascades

@jornada812
Copy link

the examples don't work with any cascade (at least it didn't work for me) Doesn't work at all anymore?

@opa79
Copy link

opa79 commented Jan 14, 2023

None of .xml files work. All xml files both in facedetectxml and in facedetectxml_new folders seem to be bad/broken.

I always get this error: 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

@Laex
Copy link
Owner

Laex commented Jan 18, 2023

Try to test
Delphi-OpenCV\samples\MultiDemo\FaceDetect\FaceDetect.dpr
It normally loads "resource\facedetectxml\haarcascade_frontalface_alt.xml"

@opa79
Copy link

opa79 commented Jan 29, 2023

I've tried that project. It fails with all .xml files as well.
OpenCV is compliled with VS2015, Delphi version is 10.2 Tokyo.

@Laex
Copy link
Owner

Laex commented Feb 5, 2023

Duplicate of #71

@Laex Laex marked this as a duplicate of #71 Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants