一、概述 基于 DNN 的人脸检测和识别,用于人脸检测的cv::FaceDetectorYN类和用于人脸识别的cv::FaceRecognizerSF类。此模块有两个模型(ONNX 格式)经过预训练并需要下载模型: (1)FaceDetectorYN 模型下载地址opencv_zoo/models/face_detection_yunet at master · opencv/opencv_zoo · GitHubModel Zoo For OpenCV DNN and Benchmarks. Contribute to opencv/opencv_zoo development by creating an account on GitHub.htt