I'm trying to publish my program so i put xml file to Resources (using IDE Resources Manager ). I dont now how to use it to create CascadeClassifier . This dostn work :
String xmlFile = WindowsFormsApplication1.Properties.Resources.haarcascade_frontalface_alt;
CascadeClassifier faceDetector = new CascadeClassifier(xmlFile );