test
This commit is contained in:
+1
-1
@@ -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人脸检测模型
|
||||
|
||||
Reference in New Issue
Block a user