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

Error 500 when trying to detect a face #13

Closed
hirbod opened this issue Oct 10, 2014 · 3 comments
Closed

Error 500 when trying to detect a face #13

hirbod opened this issue Oct 10, 2014 · 3 comments

Comments

@hirbod
Copy link

hirbod commented Oct 10, 2014

Hi,

after some couple of hours I managed to install everything on my Debian Wheezy.
But I receive following error, no matter which cascade I'm trying to load

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

Do you have any idea whats going on? There are hundreds of poeple with this issue but only workarounds for java - not php. Any idea? PHP 5.4 on Debian Wheezy, (fgci)

@s-tleller
Copy link

Hi,
I'm sorry, but I have not yet looked at the companent properly.
:)

@berak
Copy link

berak commented Jul 20, 2015

since this is using opencv's arcane and no more maintained c-api, only cascade files made from opencv_haartraining (which is also no more available) can be used . cascades made with the recent opencv_traincascade can't be read with cvHaar* functions.

@infusion
Copy link
Owner

infusion commented Mar 6, 2018

Could you guys please test the current master branch? I rewrote the code almost completely for PHP7 and to come by the old OpenCV C-interface.

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