reab5555 commited on
Commit
91ab9c7
·
verified ·
1 Parent(s): f7bab76

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +2 -2
video_processing.py CHANGED
@@ -43,11 +43,11 @@ def extract_frames(video_path, output_folder, desired_fps, progress_callback=Non
43
  return frame_count, original_fps
44
 
45
 
46
- def process_frames(frames_folder, aligned_faces_folder, frame_count, progress):
47
  embeddings_by_frame = {}
48
  posture_scores_by_frame = {}
49
  posture_landmarks_by_frame = {}
50
- aligned_face_paths = []
51
  frame_files = sorted([f for f in os.listdir(frames_folder) if f.endswith('.jpg')])
52
 
53
  for i, frame_file in enumerate(frame_files):
 
43
  return frame_count, original_fps
44
 
45
 
46
+ def process_frames(frames_folder, faces_folder, frame_count, progress):
47
  embeddings_by_frame = {}
48
  posture_scores_by_frame = {}
49
  posture_landmarks_by_frame = {}
50
+ face_paths = []
51
  frame_files = sorted([f for f in os.listdir(frames_folder) if f.endswith('.jpg')])
52
 
53
  for i, frame_file in enumerate(frame_files):