示例#1
0
 private void Detection()
 {
     _faceRect = ChooseFace(_faceFinder.Detect(ref _frame));
     _faceMat  = new Mat(_frame, _faceRect);
     _eyeLRect = ChooseFace(_eyeLFinder.Detect(ref _faceMat));
     _eyeRRect = ChooseFace(_eyeRFinder.Detect(ref _faceMat));
 }