Spaces:
Runtime error
Runtime error
Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
|
@@ -277,7 +277,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
| 277 |
)
|
| 278 |
|
| 279 |
|
| 280 |
-
def is_frontal_face(landmarks, threshold=
|
| 281 |
nose_tip = landmarks[4]
|
| 282 |
left_chin = landmarks[234]
|
| 283 |
right_chin = landmarks[454]
|
|
|
|
| 277 |
)
|
| 278 |
|
| 279 |
|
| 280 |
+
def is_frontal_face(landmarks, threshold=50):
|
| 281 |
nose_tip = landmarks[4]
|
| 282 |
left_chin = landmarks[234]
|
| 283 |
right_chin = landmarks[454]
|