jschwab21 commited on
Commit
43f5151
·
verified ·
1 Parent(s): 6bcace2

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +1 -1
video_processing.py CHANGED
@@ -70,7 +70,7 @@ def find_scenes(video_path, downscale_factor=2.2):
70
  video_manager = VideoManager([video_path])
71
  scene_manager = SceneManager()
72
  scene_manager.add_detector(ContentDetector(threshold=33)) # Adjusted threshold for finer segmentation
73
- video_manager.set_downscale_factor(donwscale_factor)
74
  video_manager.start()
75
  scene_manager.detect_scenes(frame_source=video_manager)
76
  scene_list = scene_manager.get_scene_list()
 
70
  video_manager = VideoManager([video_path])
71
  scene_manager = SceneManager()
72
  scene_manager.add_detector(ContentDetector(threshold=33)) # Adjusted threshold for finer segmentation
73
+ video_manager.set_downscale_factor(downscale_factor)
74
  video_manager.start()
75
  scene_manager.detect_scenes(frame_source=video_manager)
76
  scene_list = scene_manager.get_scene_list()