Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
@@ -145,7 +145,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
145 |
progress(0.75, "Getting face samples")
|
146 |
face_samples = get_all_face_samples(organized_faces_folder, output_folder, largest_cluster)
|
147 |
|
148 |
-
progress(0.8, "
|
149 |
audio_path = extract_audio_from_video(video_path)
|
150 |
diarization, most_frequent_speaker = diarize_speakers(audio_path)
|
151 |
voice_embeddings, audio_duration = get_speaker_embeddings(audio_path, diarization, most_frequent_speaker)
|
|
|
145 |
progress(0.75, "Getting face samples")
|
146 |
face_samples = get_all_face_samples(organized_faces_folder, output_folder, largest_cluster)
|
147 |
|
148 |
+
progress(0.8, "Performing voice analysis")
|
149 |
audio_path = extract_audio_from_video(video_path)
|
150 |
diarization, most_frequent_speaker = diarize_speakers(audio_path)
|
151 |
voice_embeddings, audio_duration = get_speaker_embeddings(audio_path, diarization, most_frequent_speaker)
|