Commit
·
7cf8e9f
1
Parent(s):
2c0e56e
fixed error
Browse files- FER/detectfaces.py +1 -1
FER/detectfaces.py
CHANGED
@@ -106,7 +106,7 @@ def imagecapture(model):
|
|
106 |
starttime = time.strftime("%H:%M:%S")
|
107 |
print(f"-->Prediction starting at {starttime}")
|
108 |
# Perform emotion prediction
|
109 |
-
|
110 |
# Record the prediction end time
|
111 |
endtime = time.strftime("%H:%M:%S")
|
112 |
print(f"-->Done prediction at {endtime}")
|
|
|
106 |
starttime = time.strftime("%H:%M:%S")
|
107 |
print(f"-->Prediction starting at {starttime}")
|
108 |
# Perform emotion prediction
|
109 |
+
predict(model, image_path=face_pil_image)
|
110 |
# Record the prediction end time
|
111 |
endtime = time.strftime("%H:%M:%S")
|
112 |
print(f"-->Done prediction at {endtime}")
|