reab5555 commited on
Commit
760ca35
·
verified ·
1 Parent(s): 2cb6e65

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +0 -3
video_processing.py CHANGED
@@ -23,9 +23,6 @@ mtcnn = MTCNN(keep_all=False, device=device, thresholds=[0.9, 0.9, 0.9], min_fac
23
  mp_face_mesh = mp.solutions.face_mesh
24
  face_mesh = mp_face_mesh.FaceMesh(static_image_mode=False, max_num_faces=1, min_detection_confidence=0.8)
25
 
26
- mp_pose = mp.solutions.pose
27
- pose = mp_pose.Pose(static_image_mode=False, min_detection_confidence=0.8, min_tracking_confidence=0.8)
28
-
29
  def extract_frames(video_path, output_folder, desired_fps, progress_callback=None):
30
  os.makedirs(output_folder, exist_ok=True)
31
  clip = VideoFileClip(video_path)
 
23
  mp_face_mesh = mp.solutions.face_mesh
24
  face_mesh = mp_face_mesh.FaceMesh(static_image_mode=False, max_num_faces=1, min_detection_confidence=0.8)
25
 
 
 
 
26
  def extract_frames(video_path, output_folder, desired_fps, progress_callback=None):
27
  os.makedirs(output_folder, exist_ok=True)
28
  clip = VideoFileClip(video_path)