public CalibrationScreen()
 {
     InitializeComponent();
     detector = Detector.Create(EyeDetectorAlerter.MODEL_XML);
     GPSEnabled = isGPSEnabled();
     setGPSToggle(GPSEnabled);
     internetConnected = isInternetConnected();
     setInternetToggle(internetConnected);
 }
 public CalibrationScreen()
 {
     InitializeComponent();
     detector = Detector.Create("models\\haarcascade_eye.xml");
 }
 public EyeDetectorAlerter()
 {
     detector = Detector.Create(MODEL_XML);
 }
 // Constructor
 public MainPage()
 {
     InitializeComponent();
     m_detector = new FaceDetectionWinPhone.Detector(System.Xml.Linq.XDocument.Load(MODEL_FILE));
 }