reab5555 commited on
Commit
90c11db
·
verified ·
1 Parent(s): 1329575

Update video_processing.py

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