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人脸检测模型