# cascade classifier - can not open '.xml' file

I want to make an augmented reality app. so first of all i trained a cascade classifier for this marker!

image description

I used cascade training on this image and after 2 days! it finished!! so according to the face detection tutorial I followed the steps but when I want to load the "cascade.xml" file it can not open it and exit the program.

specifically in this code:

CascadeClassifier ARMarker;
{
cout<<"can not open the file."<<endl;
exit(1);
}


is there any help!?