Ask Your Question

Revision history [back]

cvload report cv::Exception at memory location

opencv 2.4.13, vs2013。opencv work fine before. When I called following code,report:cv::Exception at memory location C++ please help, thanks a lot. ^_^

    const char *pstrCascadeFileName = "C:\\Users\\aaa\\Desktop\\hand\\opencv\\sources\\data\\haarcascades\\haarcascade_profileface.xml";

    CvHaarClassifierCascade *pHaarCascade = NULL;

    cvReleaseHaarClassifierCascade(&pHaarCascade);

    pHaarCascade = (CvHaarClassifierCascade*)cvLoad(pstrCascadeFileName,0,0,0);