Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
@@ -244,7 +244,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
244 |
frames_folder
|
245 |
)
|
246 |
|
247 |
-
def is_frontal_face(landmarks, threshold=
|
248 |
nose_tip = landmarks[4]
|
249 |
left_chin = landmarks[234]
|
250 |
right_chin = landmarks[454]
|
|
|
244 |
frames_folder
|
245 |
)
|
246 |
|
247 |
+
def is_frontal_face(landmarks, threshold=50):
|
248 |
nose_tip = landmarks[4]
|
249 |
left_chin = landmarks[234]
|
250 |
right_chin = landmarks[454]
|