fffiloni commited on
Commit
3b4ac51
1 Parent(s): 63ce649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,8 +53,8 @@ def find_scenes(video_path, threshold=27.0):
53
 
54
  # Display and save frame
55
  #cv2.imshow('frame', frame); cv2.waitKey(0)
56
-
57
- img = cv2.imwrite(str(frame_id) + '_screenshot.png',frame)
58
  stills.append(img)
59
  #outputs.append("video")
60
  #shot_in = scene_list[1][0].get_frames() / scene_list[1][0].get_framerate()
 
53
 
54
  # Display and save frame
55
  #cv2.imshow('frame', frame); cv2.waitKey(0)
56
+ img = str(frame_id) + '_screenshot.png'
57
+ cv2.imwrite(img,frame)
58
  stills.append(img)
59
  #outputs.append("video")
60
  #shot_in = scene_list[1][0].get_frames() / scene_list[1][0].get_framerate()