23A475R commited on
Commit
c81b58e
1 Parent(s): 5cfcc26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def predict_emotion(frame):
38
 
39
  # Overlay a box over the detected face
40
  cv2.putText(frame, label, (fX, fY - 10),
41
- cv2.FONT_HERSHEY_DUPLEX, 1, (238, 164, 64), 1)
42
  cv2.rectangle(frame, (fX, fY), (fX + fW, fY + fH),
43
  (238, 164, 64), 2)
44
 
 
38
 
39
  # Overlay a box over the detected face
40
  cv2.putText(frame, label, (fX, fY - 10),
41
+ cv2.FONT_HERSHEY_DUPLEX, 0.5, (238, 164, 64), 1, cv2.LINE_AA)
42
  cv2.rectangle(frame, (fX, fY), (fX + fW, fY + fH),
43
  (238, 164, 64), 2)
44