From c50447e84d0e254715460f140938f1c4913f5efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E3=82=B9=E3=83=90=E3=83=AB?= Date: Sat, 3 May 2025 18:31:53 +0800 Subject: [PATCH] test --- 实验八/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/实验八/detect.py b/实验八/detect.py index 4db24f2..8f89ec1 100644 --- a/实验八/detect.py +++ b/实验八/detect.py @@ -38,7 +38,7 @@ classifier = joblib.load('models/classifier.pkl') positive_sample = cv.imread('cache/positive_test.jpg') positive_sample_rgb = cv.cvtColor(positive_sample, cv.COLOR_BGR2RGB) -negative_sample = cv.imread('cache/negative_test.jpg') +negative_sample = cv.imread('cache/love.jpg') negative_sample_rgb = cv.cvtColor(negative_sample, cv.COLOR_BGR2RGB) # 加载dlib人脸检测模型