BrainAI-1 commited on
Commit
4138b04
·
verified ·
1 Parent(s): 58104c3

Update utils/emotion_detection_brainai.py

Browse files
Files changed (1) hide show
  1. utils/emotion_detection_brainai.py +1 -1
utils/emotion_detection_brainai.py CHANGED
@@ -62,7 +62,7 @@ class EmotionModel:
62
 
63
  return boxes
64
 
65
- def detect_emotions(self, img, boxes):
66
  for box in boxes:
67
  xmin, ymin, xmax, ymax = box
68
  emotion_input = uploaded_img_cv[ymin:ymax,xmin:xmax]
 
62
 
63
  return boxes
64
 
65
+ def detect_emotions(self, uploaded_img_cv, boxes):
66
  for box in boxes:
67
  xmin, ymin, xmax, ymax = box
68
  emotion_input = uploaded_img_cv[ymin:ymax,xmin:xmax]