i build my project in VS 2019 (using opencv 2.4.1), all includes and .dll files are linked properly according the tutorial and specs, project compiles without the error, but when i run this code in VS 2019 i am getting the error: Exception 0x7B17A5A9 (opencv_core2410.dll) in sdkDemo.exe: 0xC0000005: acces violation writing the address 0x00000001. Before i megrate my project to VS 2019, i used a VS 2010 and everything worked great without the exceptions.
Please help me to find a solution, what additional information is needed just let me know
void CsdkDemoDlg::initDetectors(CascadeClassifier &faceCascade)
{
// Load the Face Detection cascade classifier xml file.
try {
faceCascade.load("C:\\lbpcascade_frontalface.xml"); <<<<<<<------- EXCEPTION is Here when i am tring to load the CascadeClassifier/
} catch (cv::Exception &e) {}
}
User contributions licensed under CC BY-SA 3.0