Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

C# haar cascade can't read xml

$
0
0
Hi, I am having a weird problem and struggling with it now.. using( CvHaarClassifierCascade cascade = CvHaarClassifierCascade.FromFile( @"C:\opencv\2.4.11\opencv\sources\data\haarcascades\haarcascade_frontalface_alt2.xml" ) ) Above is my code. And this is really basic cascade loading function which I could find many places. But this code returns an error: > The node does not represent a user object (unknown type?) I tried other xml files but still getting the same error.. Why did it happen and how do I fix it? Please help!!

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>