Ask Your Question
0

Error using haarcascade_profileface.xml

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

bxxxi gravatar image

Hallo,

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

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-24 02:01:16 -0600

berak gravatar image

updated 2014-11-24 02:01:50 -0600

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)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-11-23 15:03:35 -0600

Seen: 890 times

Last updated: Nov 23 '14