reab5555 commited on
Commit
93b15fb
·
verified ·
1 Parent(s): 2c28c6a

Update video_processing.py

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