Ask Your Question

Mahnaz's profile - activity

2016-11-22 02:26:17 -0600 received badge  Enthusiast
2016-11-19 05:38:37 -0600 received badge  Editor (source)
2016-11-19 05:35:17 -0600 asked a question I can not load xml file

Hi. i want write face detection in opencv by c++ (in vs 2012) but i have problem to load xml file.i uploaded xml file in solution project and give relative address to load xml file but can not load the file,also placed xml file in drive "i" and give the absolute address , But the program is not able to load files. also all library added by property sheet.please help me to solve this problem, this is my code:

CascadeClassifier face;
    if (face.load("haarcascade_frontalface_alt.xml"))
    {
        cout << "face_xml file is load";
    }
    else
    {
        cout << " face_xml file doesn't load";
    }

and :

if (face.load("i:/haarcascade_frontalface_alt.xml"))
{
    cout << "face_xml file is load";
}
else
{
    cout << " face_xml file doesn't load";
}

and in both way cout "face_xml file doesn't load" . thanks.

2016-08-14 13:50:53 -0600 asked a question how to fix error:cannot open file 'libboost_chrono-vc110-mt-gd-1_53.lib

Hi.I want to do projects fatigue detection ,But I encounter an error: Error 4 error LNK1104: cannot open file 'libboost_chrono-vc110-mt-gd-1_53.lib' ...\opencv\LINK opencv2 Please advise what to do to fix this error?