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