Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Classifier load error.

$
0
0
My program always stops at: CascadeClassifier face_cascade; face_cascade.load("‪E:\\opencv\\sources\\data\\haarcascades\\haarcascade_frontalface_alt2.xml"); if (!face_cascade.load("‪E:\\opencv\\sources\\data\\haarcascades\\haarcascade_frontalface_alt2.xml")){ cout << "Classfier not loaded"; waitKey(); return -1; } So the problem is that I can't load the classifier. I have been searching on the Internet for much time and correct many problems others faced. But I can never load it. I set the model to "Debug". My linker is using ".....d.dll". I have been checking the file path for 100 times and trying different spellings. It's so annoying. Can anyone tell me what to do? Thanks in advance.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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