Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
@@ -252,7 +252,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
252 |
frames_folder
|
253 |
)
|
254 |
|
255 |
-
def is_frontal_face(landmarks, threshold=
|
256 |
nose_tip = landmarks[4]
|
257 |
left_chin = landmarks[234]
|
258 |
right_chin = landmarks[454]
|
|
|
252 |
frames_folder
|
253 |
)
|
254 |
|
255 |
+
def is_frontal_face(landmarks, threshold=15):
|
256 |
nose_tip = landmarks[4]
|
257 |
left_chin = landmarks[234]
|
258 |
right_chin = landmarks[454]
|