摘要:
private void MatchFaces() { try { using (NImage frame = _camera.GetFrame()) { if (frame == null) { return; } using (NGrayscaleImage grayscaleImage = frame.ToGrayscale()) { NleFace[] faces = _extractor.DetectFaces(grayscaleImage); if (faces.Length <= 0) return; NleFace face = faces[0]; NleDetectio 阅读全文