vrvundyala commited on
Commit
daeb84c
·
1 Parent(s): 53ffa47

face recognition

Browse files
app/Hackathon_setup/SVC.sav ADDED
Binary file (3.99 kB). View file
 
app/Hackathon_setup/face_recognition.py CHANGED
@@ -107,7 +107,8 @@ def get_face_class(img1):
107
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
108
 
109
  # 1 Load the Decision Tree classifier
110
- clf_path = os.path.join(BASE_DIR, "decision_tree_model.sav")
 
111
  clf = joblib.load(clf_path)
112
 
113
  # 2 Load the Siamese feature extractor
 
107
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
108
 
109
  # 1 Load the Decision Tree classifier
110
+ # clf_path = os.path.join(BASE_DIR, "decision_tree_model.sav")
111
+ clf_path = os.path.join(BASE_DIR, "SVC.sav")
112
  clf = joblib.load(clf_path)
113
 
114
  # 2 Load the Siamese feature extractor