private void SetupEngine() { engine = new HumanRecognizer(sourceManager); engine.FaceDetected += new FaceDetectedEventHandler(engine_FaceDetected); engine.FacesLoaded += new HumanRecognizerEventHandler(engine_FacesLoaded); engine.HumanNameChanged += new HumanNameChangedEventHandler(engine_HumanNameChanged); engine.Started += new HumanRecognizerEventHandler(engine_Started); engine.Stopped += new HumanRecognizerEventHandler(engine_Stopped); }
private void engine_Stopped(HumanRecognizer sender) { // throw new NotImplementedException(); }
private void engine_Started(HumanRecognizer sender) { ShowVLComponentsStatus(); }
private void engine_HumanNameChanged(HumanRecognizer sender, string humanName) { SetHumanName(humanName); }
private void engine_FacesLoaded(HumanRecognizer sender) { UpdateKnownFacesPanel(); }
private void engine_FaceDetected(HumanRecognizer sender, FaceCollection faces) { foreach (Face f in faces) { } if (sender.AutoFindHuman) { } }