Update app.py
#1
by
ravinder2024
- opened
app.py
CHANGED
@@ -82,7 +82,7 @@ def process_frame(frame):
|
|
82 |
name = known_names[label]
|
83 |
|
84 |
# Format the result text as "Name is feeling Emotion"
|
85 |
-
result_text = f"
|
86 |
|
87 |
# Draw bounding box and label on the frame
|
88 |
cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2)
|
|
|
82 |
name = known_names[label]
|
83 |
|
84 |
# Format the result text as "Name is feeling Emotion"
|
85 |
+
result_text = f"person is feeling {emotion}"
|
86 |
|
87 |
# Draw bounding box and label on the frame
|
88 |
cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2)
|