cascade classifier - can not open '.xml' file [closed]

asked 2013-06-26 02:50:53 -0600

Constantin gravatar image

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;
if(ARMarker.load("cascade.xml"))
{
    cout<<"can not open the file."<<endl;
    exit(1);
}

is there any help!?

Thanks in advance! :)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-10 13:20:40.115743