Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CascadeClassifier::Load from Memory

Hey there,

I have the XML file compiled into the project and during run time i get the contents of the XML in a std::string.

Now i want to pass this into the CascadeClassifier::Load function. I am doing this so that there are no XML running around in the installation folder of my app.

Is it possible to do? Can i pass the string contents to Load function?

Or is there any other function i can use? Any other work around?

I am doing this to have the face detection feature.

Thanks

click to hide/show revision 2
retagged

updated 2014-02-07 11:54:35 -0600

berak gravatar image

CascadeClassifier::Load from Memory

Hey there,

I have the XML file compiled into the project and during run time i get the contents of the XML in a std::string.

Now i want to pass this into the CascadeClassifier::Load function. I am doing this so that there are no XML running around in the installation folder of my app.

Is it possible to do? Can i pass the string contents to Load function?

Or is there any other function i can use? Any other work around?

I am doing this to have the face detection feature.

Thanks