fffiloni commited on
Commit
85e03a1
1 Parent(s): 840513c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def find_scenes(video_path, threshold):
98
  ret, frame = vid.read()
99
 
100
  # Save frame as PNG file
101
- img = str(frame_id) + '_screenshot.png'
102
  cv2.imwrite(img,frame)
103
 
104
  # Push image into stills List
 
98
  ret, frame = vid.read()
99
 
100
  # Save frame as PNG file
101
+ img = (str(frame_id) + '_screenshot.png', 'shot ' + str(frame_id))
102
  cv2.imwrite(img,frame)
103
 
104
  # Push image into stills List