Beispiel #1
0
 public ucXCam()
 {
     InitializeComponent();
     hDAO   = new HistoryDAO();
     camDAO = new CameraDAO();
     fDAO   = new FaceDAO();
     pDAO   = new PeopleDAO();
     #region [Khởi tạo camera]
     _recognizerEngine       = new RecognizerEngine(_trainerDataPath, 1);
     _recognizerEngineunKnow = new RecognizerEngine(_trainerDataPath, 2);
     _cascadeClassifier      = new CascadeClassifier("haarcascade_frontalface_default.xml");
     #endregion
 }
Beispiel #2
0
 public ucAllCameras()
 {
     InitializeComponent();
     listCamera = new List <Camera>();
     camDAO     = new CameraDAO();
 }