I want to use below code:
FileStorage fs( "xml_as_text_string", FileStorage::READ | FileStorage::MEMORY); face_cascade.read(fs.root());
but I must first convert xml to string how ? I put " " for xml content and assign it to string but it is completely False.
opencv: 2.4.9 language:c++ sample xml file: haarcascade_frontalface_alt.xml