reab5555 commited on
Commit
20d0661
·
verified ·
1 Parent(s): ea0afd1

Update video_processing.py

Browse files
Files changed (1) hide show
  1. 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=20):
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]