Commit ·
d99d530
1
Parent(s): 4fea6f8
face recognition
Browse files
app/Hackathon_setup/face_recognition.py
CHANGED
|
@@ -111,7 +111,7 @@ def get_face_class(img1):
|
|
| 111 |
clf_path = os.path.join(BASE_DIR, "logistic_regression_2.sav")
|
| 112 |
clf = joblib.load(clf_path)
|
| 113 |
|
| 114 |
-
scaler_path = os.path.join(BASE_DIR, "
|
| 115 |
scaler = joblib.load(scaler_path)
|
| 116 |
|
| 117 |
# 2 Load the Siamese feature extractor
|
|
|
|
| 111 |
clf_path = os.path.join(BASE_DIR, "logistic_regression_2.sav")
|
| 112 |
clf = joblib.load(clf_path)
|
| 113 |
|
| 114 |
+
scaler_path = os.path.join(BASE_DIR, "standar_scaler.sav")
|
| 115 |
scaler = joblib.load(scaler_path)
|
| 116 |
|
| 117 |
# 2 Load the Siamese feature extractor
|