Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def predict_emotion(frame):
|
|
75 |
|
76 |
# Overlay a box over the detected face
|
77 |
cv2.putText(frame_clone, label, (fX, fY - 10),
|
78 |
-
cv2.FONT_HERSHEY_DUPLEX, 0.5, (238, 164, 64), 1
|
79 |
|
80 |
cv2.rectangle(frame, (fX, fY), (fX + fW, fY + fH),
|
81 |
(238, 164, 64), 2)
|
|
|
75 |
|
76 |
# Overlay a box over the detected face
|
77 |
cv2.putText(frame_clone, label, (fX, fY - 10),
|
78 |
+
cv2.FONT_HERSHEY_DUPLEX, 0.5, (238, 164, 64), 1)
|
79 |
|
80 |
cv2.rectangle(frame, (fX, fY), (fX + fW, fY + fH),
|
81 |
(238, 164, 64), 2)
|