Spaces:
Running
on
Zero
Running
on
Zero
Update demo.py
Browse files
demo.py
CHANGED
|
@@ -159,7 +159,7 @@ def process_image(input_image, use_ensemble):
|
|
| 159 |
)
|
| 160 |
|
| 161 |
faces_with_gaze = sum(1 for gp in gaze_points if gp is not None)
|
| 162 |
-
status = f"Found {len(faces)} faces. {
|
| 163 |
return fig, status
|
| 164 |
|
| 165 |
except Exception as e:
|
|
|
|
| 159 |
)
|
| 160 |
|
| 161 |
faces_with_gaze = sum(1 for gp in gaze_points if gp is not None)
|
| 162 |
+
status = f"Found {len(faces)} faces. {len(faces) - faces_with_gaze} gazing out of frame."
|
| 163 |
return fig, status
|
| 164 |
|
| 165 |
except Exception as e:
|