Error using haarcascade_profileface.xml

asked 2014-11-23 15:03:35 -0500

bxxxi gravatar image


I am trying to write a program that detects faces. I am currently using haarcascades to detect faces (haarcascade_frontalface_default.xml), this works fine if I am only trying to find frontal faces. But I also need to find faces in profil (just one eye visible). This is the reason why I wanted to try haarcascade_profileface.xml. I am programming in C#.

Every time I try to debug the code I receive an error message:

Error of type "Emgu.CV.Util.CvException" has occurred in Emgu.CV.dll OpenCV: The node does not represent a user object (unknown type?) Can you help me?

Thanks, B

edit retag flag offensive close merge delete


unfortunately, emgu is using the outdated c-api calls internally. thus you're restricted to the xml-haarcascades in the 'old' format, generated by the old haartraining tool. (you cannot use this cascade file from emgu)

berak gravatar imageberak ( 2014-11-24 02:01:16 -0500 )edit