cascade classifier - can not open '.xml' file [closed]
I want to make an augmented reality app. so first of all i trained a cascade classifier for this marker!
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;
if(ARMarker.load("cascade.xml"))
{
cout<<"can not open the file."<<endl;
exit(1);
}
is there any help!?
Thanks in advance! :)