answered Jul 17 '13
yes you can you that. here you can see a code for oject detection. just replace the xml file with your xml.