Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|