2015-03-11 23:19:14 -0600 | asked a question | Cascade Classifier tutorial runtime crash I've been playing around with the Cascade Classifier tutorial. I'm encountering a runtime crash on the second detectMultiScale call. That is to say, the detectMultiscale call to find faces works fine, and the whole thing will run and draw the figure as expected without the call to find eyes. However calling it to find the eyes crashes it. I only have limited experience with OpenCV (just a few projects), and it's quite possible I'm missing something obvious. Does anyone know what could be wrong? First I considered the issue might be with the "haarcascade_eye_tree_eyeglasses.xml" file, but that came with the package. So I'm guessing either I'm linking something I shouldn't be or missing something I should be. Either that or it's the beta package, but I have more faith in whomever threw that together! Linking the following in debug: Just the opencv_* files didn't cut it, but I don't think they were supposed to, so I linked the rest, thinking it couldn't do much harm. Also had to link comctl32.lib and VFW32.lib to get things to work after some googling (I'm still not exactly clear why). Happens in both x86 or x64, debug and release. I've done my due diligence in looking around for solutions, but I've exhausted my options. Does anyone have any advice on how to proceed? |