Open kaikuehne opened 8 years ago
@kaikuehne, did you ever resolve this? I'm currently trying to load a haarcascade_frontalcatface.xml into smartcrop that dumps this error. It's weird because haarcascade_frontalface.xml and several other xml files work, but this cat face detection crash is killing me.
The node does not represent a user object
https://github.com/lazywei/go-opencv/blob/master/opencv/cvaux.go#L61
haarCascade.cascade = C.cvLoadHaarClassifierCascade(C.CString(haar), C.cvSize(1, 1))
Here's the xml file for reference: https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalcatface.xml
Hi! I have a problem using go-opencv to load a haarcascade xml file. I'm using Mac OS and installed opencv 2.4.12 using homebrew.
I created a small file to show the error:
The error I'm getting is:
Can you tell me what I might have done wrong? Or is this a bug? Thanks!